aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux
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/modules/linux
parenta8976aec4535acfb77e68e5b6551348dd68812d6 (diff)
Notes
Diffstat (limited to 'sys/modules/linux')
-rw-r--r--sys/modules/linux/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 6570b8d86e33..7065c1f0f6cd 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -78,7 +78,7 @@ ${VDSO}.so: linux${SFX}_locore.o
.endif
linux${SFX}_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