diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2020-04-18 12:54:40 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2020-04-18 12:54:40 +0000 |
commit | 4db3ef4c77b72908fc0d17f8b9fc21941df0976c (patch) | |
tree | f7d2e13b6360e2a9632ce2e6b46f9bf9a407dd93 /sys/modules/linux64/Makefile | |
parent | a8976aec4535acfb77e68e5b6551348dd68812d6 (diff) | |
download | src-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/modules/linux64/Makefile')
-rw-r--r-- | sys/modules/linux64/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile index 19675b61cded..046eeeda30f2 100644 --- a/sys/modules/linux64/Makefile +++ b/sys/modules/linux64/Makefile @@ -53,7 +53,7 @@ linux_support.o: assym.inc linux_assym.h ${.IMPSRC} -o ${.TARGET} linux_genassym.o: offset.inc - ${CC} -c ${CFLAGS:N-flto:N-fno-common} ${.IMPSRC} + ${CC} -c ${CFLAGS:N-flto:N-fno-common} -fcommon ${.IMPSRC} .if !defined(KERNBUILDDIR) .warning Building Linuxulator outside of a kernel does not make sense |