summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2002-01-10 03:52:54 +0000
committermsmith <msmith@FreeBSD.org>2002-01-10 03:52:54 +0000
commit8cc551e045e25036f24e67e63defedacc4d6c203 (patch)
tree1779112d1fb53df8bc0264f0910cefb70b306789 /sys/modules
parent2eab148603db6f9c4c5439f604fe1c4249c9b6a8 (diff)
downloadFreeBSD-src-8cc551e045e25036f24e67e63defedacc4d6c203.zip
FreeBSD-src-8cc551e045e25036f24e67e63defedacc4d6c203.tar.gz
genassym depends on the presence of common variables, disable the use
of -fno-common in this case.
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 5184c0b..a1509b7 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 1057f30..8e9dd79 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
OpenPOWER on IntegriCloud