aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux/Makefile
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2023-12-26 23:24:53 +0000
committerWarner Losh <imp@FreeBSD.org>2023-12-26 23:31:51 +0000
commitc6ae97c44d4dc0d90d20bec3235a6484912767a1 (patch)
tree862f340f38f3e5e3d156dde2f2217c40f94c8490 /sys/modules/linux/Makefile
parentd4d14d965fb92d2bceb744be41310dc47f27ab80 (diff)
Diffstat (limited to 'sys/modules/linux/Makefile')
-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 d1035445ccfb..88b3b8f5e123 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -135,7 +135,7 @@ linux${SFX}_support.o: linux${SFX}_support.S linux${SFX}_assym.h assym.inc
.endif
linux${SFX}_genassym.o: offset.inc
- ${CC} -c ${CFLAGS:N-flto:N-fno-common} -fcommon ${.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