aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux64/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/linux64/Makefile
parentd4d14d965fb92d2bceb744be41310dc47f27ab80 (diff)
sys: ${CFLAGS:N-flto} -> ${CFLAGS:N-flto*}
For the same reason as the original https://reviews.freebsd.org/D9659: -flto=<N>, -flto=full, and -flto=thin also produce the GIMPLE/bitcode which is not supported by genassym, so filter those out as well. Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/898
Diffstat (limited to 'sys/modules/linux64/Makefile')
-rw-r--r--sys/modules/linux64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile
index 05fe76ba6a51..9ac1944ad1a9 100644
--- a/sys/modules/linux64/Makefile
+++ b/sys/modules/linux64/Makefile
@@ -101,7 +101,7 @@ linux_support.o: linux_support.S assym.inc linux_assym.h
${.ALLSRC:M*.S:u} -o ${.TARGET}
linux_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