Author: emaste
Date: Sat Nov  3 19:31:11 2018
New Revision: 340099
URL: https://svnweb.freebsd.org/changeset/base/340099

Log:
  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

Modified:
  head/Makefile.libcompat

Modified: head/Makefile.libcompat
==============================================================================
--- head/Makefile.libcompat     Sat Nov  3 18:03:24 2018        (r340098)
+++ head/Makefile.libcompat     Sat Nov  3 19:31:11 2018        (r340099)
@@ -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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to