Skip to content

Commit 3298f3f

Browse files
committed
Clang doesn't have mminimal-toc
1 parent 7a4ea21 commit 3298f3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/llvm.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,10 @@ endif # LLDB_DISABLE_PYTHON
128128
endif # BUILD_LLDB
129129

130130
ifneq (,$(filter $(ARCH), powerpc64le ppc64le))
131+
ifeq (${USECLANG},0)
131132
LLVM_CXXFLAGS += -mminimal-toc
132133
endif
134+
endif
133135

134136
ifeq ($(LLVM_SANITIZE),1)
135137
ifeq ($(SANITIZE_MEMORY),1)

0 commit comments

Comments
 (0)