From 01b7ad04009d681ee1e67d08664c12c97ee5c0e2 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Sat, 3 Nov 2018 19:31:11 +0000 Subject: libcompat: disable retpoline when building build tools These are built with the host toolchain which may not support retpoline. While here, move the MK_ overrides to a separate line and sort them alphabetically to support future changes. MFC with: r339511 Sponsored by: The FreeBSD Foundation --- Makefile.libcompat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.libcompat') diff --git a/Makefile.libcompat b/Makefile.libcompat index b339567c08ed..ad3a3b683344 100644 --- a/Makefile.libcompat +++ b/Makefile.libcompat @@ -200,7 +200,8 @@ build${libcompat}: .PHONY OBJTOP=${LIBCOMPAT_OBJTOP} \ OBJROOT='$${OBJTOP}/' \ MAKEOBJDIRPREFIX= \ - DIRPRFX=${_dir}/ -DNO_LINT -DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no \ + DIRPRFX=${_dir}/ -DNO_LINT -DNO_CPU_CFLAGS \ + MK_CTF=no MK_RETPOLINE=no MK_WARNS=no \ ${_t} .endfor .endfor -- cgit v1.2.3