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
@@ -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


Reply via email to