Author: andrew
Date: Mon Dec  3 09:40:37 2018
New Revision: 341424
URL: https://svnweb.freebsd.org/changeset/base/341424

Log:
  Disable the BSD CRT code on powerpc and sparc64, they need extra crt*.o
  files that haven't been implemented.
  
  Reported by:  sbruno
  MFC with:     r339738
  Sponsored by: DARPA, AFRL

Modified:
  head/share/mk/src.opts.mk

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk   Mon Dec  3 04:56:06 2018        (r341423)
+++ head/share/mk/src.opts.mk   Mon Dec  3 09:40:37 2018        (r341424)
@@ -386,6 +386,11 @@ BROKEN_OPTIONS+=HYPERV
 BROKEN_OPTIONS+=NVME
 .endif
 
+# PowerPC and Sparc64 need extra crt*.o files
+.if ${__T:Mpowerpc*} || ${__T:Msparc64}
+BROKEN_OPTIONS+=BSD_CRTBEGIN
+.endif
+
 .include <bsd.mkopt.mk>
 
 #
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to