aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/linux/Makefile2
-rw-r--r--sys/modules/svr4/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 5184c0b075812..a1509b70f0795 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -28,7 +28,7 @@ linux_locore.o: linux_locore.s linux_assym.h
${.IMPSRC} -o ${.TARGET}
linux_genassym.o: linux_genassym.c linux.h @ machine
- ${CC} -c ${CFLAGS} ${.IMPSRC}
+ ${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile
index 1057f307ae350..8e9dd79a30e88 100644
--- a/sys/modules/svr4/Makefile
+++ b/sys/modules/svr4/Makefile
@@ -24,7 +24,7 @@ svr4_locore.o: svr4_locore.s svr4_assym.h
${.IMPSRC} -o ${.TARGET}
svr4_genassym.o: svr4_genassym.c svr4.h @ machine
- ${CC} -c ${CFLAGS} ${.IMPSRC}
+ ${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC}
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h