svn commit: r309656 - head/lib/clang/libllvmminimal
Dimitry Andric
dim at FreeBSD.org
Tue Dec 6 20:44:41 UTC 2016
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
More information about the svn-src-all
mailing list