From 0b97ee736fee1cf46369bf5fd87f9011d991cfca Mon Sep 17 00:00:00 2001 From: emaste Date: Thu, 15 Mar 2018 00:57:57 +0000 Subject: [PATCH] Remove KERNEL_RETPOLINE from BROKEN_OPTIONS on i386 Clang will compile both amd64 and i386 with retpoline. Sponsored by: The FreeBSD Foundation --- sys/conf/kern.opts.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/kern.opts.mk b/sys/conf/kern.opts.mk index 4e38c06f13c3..e0490a647296 100644 --- a/sys/conf/kern.opts.mk +++ b/sys/conf/kern.opts.mk @@ -87,7 +87,7 @@ BROKEN_OPTIONS+= OFED .endif # Things that don't work based on toolchain support. -.if ${MACHINE} != "amd64" +.if ${MACHINE} != "i386" && ${MACHINE} != "amd64" BROKEN_OPTIONS+= KERNEL_RETPOLINE .endif