aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-04-18 12:54:40 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-04-18 12:54:40 +0000
commit4db3ef4c77b72908fc0d17f8b9fc21941df0976c (patch)
treef7d2e13b6360e2a9632ce2e6b46f9bf9a407dd93 /sys/conf
parenta8976aec4535acfb77e68e5b6551348dd68812d6 (diff)
downloadsrc-4db3ef4c77b72908fc0d17f8b9fc21941df0976c.tar.gz
src-4db3ef4c77b72908fc0d17f8b9fc21941df0976c.zip
More fixes to build the kernel with a compiler that defaults to -fno-common
Using the same approach as the last commit for the files used by genassym.sh. Obtained from: CheriBSD
Notes
Notes: svn path=/head/; revision=360072
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files.amd644
-rw-r--r--sys/conf/files.i3862
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 81ce867f7a41..a4684ba3ac30 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -38,7 +38,7 @@ cloudabi64_vdso_blob.o optional compat_cloudabi64 \
#
linux32_genassym.o optional compat_linux32 \
dependency "$S/amd64/linux32/linux32_genassym.c offset.inc" \
- compile-with "${CC} ${CFLAGS:N-flto:N-fno-common} -c ${.IMPSRC}" \
+ compile-with "${CC} ${CFLAGS:N-flto:N-fno-common} -fcommon -c ${.IMPSRC}" \
no-obj no-implicit-rule \
clean "linux32_genassym.o"
#
@@ -62,7 +62,7 @@ linux32_vdso.so optional compat_linux32 \
#
ia32_genassym.o standard \
dependency "$S/compat/ia32/ia32_genassym.c offset.inc" \
- compile-with "${CC} ${CFLAGS:N-flto:N-fno-common} -c ${.IMPSRC}" \
+ compile-with "${CC} ${CFLAGS:N-flto:N-fno-common} -fcommon -c ${.IMPSRC}" \
no-obj no-implicit-rule \
clean "ia32_genassym.o"
#
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index a8f77a7631af..34d355729f02 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -25,7 +25,7 @@ cloudabi32_vdso_blob.o optional compat_cloudabi32 \
#
linux_genassym.o optional compat_linux \
dependency "$S/i386/linux/linux_genassym.c offset.inc" \
- compile-with "${CC} ${CFLAGS:N-flto:N-fno-common} -c ${.IMPSRC}" \
+ compile-with "${CC} ${CFLAGS:N-flto:N-fno-common} -fcommon -c ${.IMPSRC}" \
no-obj no-implicit-rule \
clean "linux_genassym.o"
#