svn commit: r322604 - stable/11/share/mk
Ed Maste
emaste at FreeBSD.org
Thu Aug 17 01:31:39 UTC 2017
Author: emaste
Date: Thu Aug 17 01:31:37 2017
New Revision: 322604
URL: https://svnweb.freebsd.org/changeset/base/322604
Log:
MFC r322356: Mark PROFILE option as broken when targetting mips64
The assembly in sys/mips/include/profile.h will only work for o32 ABI.
Submitted by: Alexander Richardson
Modified:
stable/11/share/mk/src.opts.mk
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/share/mk/src.opts.mk
==============================================================================
--- stable/11/share/mk/src.opts.mk Thu Aug 17 00:20:50 2017 (r322603)
+++ stable/11/share/mk/src.opts.mk Thu Aug 17 01:31:37 2017 (r322604)
@@ -273,7 +273,10 @@ BROKEN_OPTIONS+=LIBSOFT
.if ${__T:Mmips*} || ${__T:Mpowerpc*} || ${__T:Msparc64} || ${__T:Mriscv*}
BROKEN_OPTIONS+=EFI
.endif
-
+.if ${__T:Mmips64*}
+# profiling won't work on MIPS64 because there is only assembly for o32
+BROKEN_OPTIONS+=PROFILE
+.endif
.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "i386" || \
${__T} == "powerpc64" || ${__T} == "sparc64"
__DEFAULT_YES_OPTIONS+=CXGBETOOL
More information about the svn-src-all
mailing list