[hackers] [9base][PATCH] add '-fcommon' flag to config.mk

From: Cem Keylan <cem_AT_ckyln.com>
Date: Sat, 16 May 2020 03:44:32 +0300

without the -fcommon flag on GCC10, diff, hoc, and rc will fail to
compile.
---
 config.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
index 1ebfd49..3bf79e7 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -12,7 +12,7 @@ OBJTYPE     = 386
 
 # Linux/BSD
 #CFLAGS      += -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -c -I. -DPREFIX="\"${PREFIX}\""
-CFLAGS      += -c -I. -DPLAN9PORT -DPREFIX="\"${PREFIX}\""
+CFLAGS      += -fcommon -c -I. -DPLAN9PORT -DPREFIX="\"${PREFIX}\""
 LDFLAGS     += -static
 
 # Solaris
-- 
2.26.2
Received on Sat May 16 2020 - 02:44:32 CEST

This archive was generated by hypermail 2.3.0 : Sat May 16 2020 - 02:48:37 CEST