Author: dim
Date: Tue Dec  6 20:44:40 2016
New Revision: 309656
URL: https://svnweb.freebsd.org/changeset/base/309656

Log:
  During the bootstrap phase, when building the minimal llvm library on
  PowerPC, add lib/Support/Atomic.cpp.  This is needed because upstream
  llvm revision r271821 disabled the use of std::call_once, which causes
  some fallback functions from Atomic.cpp to be used instead.
  
  Reported by:  Mark Millard
  PR:           214902
  X-MFC-With:   309124

Modified:
  head/lib/clang/libllvmminimal/Makefile

Modified: head/lib/clang/libllvmminimal/Makefile
==============================================================================
--- head/lib/clang/libllvmminimal/Makefile      Tue Dec  6 19:40:37 2016        
(r309655)
+++ head/lib/clang/libllvmminimal/Makefile      Tue Dec  6 20:44:40 2016        
(r309656)
@@ -7,6 +7,9 @@ INTERNALLIB=
 
 SRCDIR=                lib
 SRCS+=         Support/APInt.cpp
+.if ${MACHINE_ARCH:Mpowerpc*} != ""
+SRCS+=         Support/Atomic.cpp
+.endif
 SRCS+=         Support/CommandLine.cpp
 SRCS+=         Support/ConvertUTF.c
 SRCS+=         Support/ConvertUTFWrapper.cpp
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to