Skip to content

Commit

Permalink
Clang doesn't have mminimal-toc
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Apr 8, 2020
1 parent 7a4ea21 commit 3298f3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/llvm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,10 @@ endif # LLDB_DISABLE_PYTHON
endif # BUILD_LLDB

ifneq (,$(filter $(ARCH), powerpc64le ppc64le))
ifeq (${USECLANG},0)
LLVM_CXXFLAGS += -mminimal-toc
endif
endif

ifeq ($(LLVM_SANITIZE),1)
ifeq ($(SANITIZE_MEMORY),1)
Expand Down

0 comments on commit 3298f3f

Please sign in to comment.