diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-07-31 21:33:01 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-07-31 21:33:01 +0000 |
commit | f9ae8f9f763377eb8657a3023616a701f820a185 (patch) | |
tree | 87bdc1acb2c8d25e1dc5d471bcec44b9ddc319fd | |
parent | cbb98edd530787c2ac019e437e7c599df8004ba7 (diff) |
build: Don't pass -avoid-version or -no-undefined on Darwin, they don't do
anything.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109958 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/libclang/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/libclang/Makefile b/tools/libclang/Makefile index 253ea38c7b..7a620c15a9 100644 --- a/tools/libclang/Makefile +++ b/tools/libclang/Makefile @@ -34,7 +34,6 @@ ifeq ($(HOST_OS),Darwin) endif # extra options to override libtool defaults LLVMLibsOptions := $(LLVMLibsOptions) \ - -avoid-version \ -Wl,-dead_strip \ -Wl,-seg1addr -Wl,0xE0000000 @@ -42,7 +41,7 @@ ifeq ($(HOST_OS),Darwin) DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/') ifneq ($(DARWIN_VERS),8) LLVMLibsOptions := $(LLVMLibsOptions) \ - -no-undefined -Wl,-install_name \ + -Wl,-install_name \ -Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)" endif endif |