From ee3c29eb792f2ce3e323671488eb4f6cf454fcf1 Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Thu, 10 Jan 2002 03:52:54 +0000 Subject: genassym depends on the presence of common variables, disable the use of -fno-common in this case. --- sys/modules/linux/Makefile | 2 +- sys/modules/svr4/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/modules') 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 -- cgit v1.3