Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Change llvm call once check for building Swift for PowerPC(ppc64le) #129

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/llvm/Support/Threading.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#define LLVM_THREADING_USE_STD_CALL_ONCE 1
#elif defined(LLVM_ON_UNIX) && \
(defined(_LIBCPP_VERSION) || \
!(defined(__NetBSD__) || defined(__OpenBSD__) || defined(__ppc__)))
!(defined(__NetBSD__) || defined(__OpenBSD__) || defined(__ppc__)) || (defined(__PPC__) && defined(__LITTLE_ENDIAN__)))
// std::call_once from libc++ is used on all Unix platforms. Other
// implementations like libstdc++ are known to have problems on NetBSD,
// OpenBSD and PowerPC.
Expand Down