source: trunk/dports/lang/clang-3.2/files/tiger-shlib.patch @ 92461

Last change on this file since 92461 was 92461, checked in by jeremyhu@…, 5 years ago

{clang,dragonegg,llvm}-3.2: New ports tracking llvm trunk development through the release of 3.2

File size: 3.0 KB
  • runtime/libprofile/Makefile

    diff -Naurp llvm-3.0.src.orig/runtime/libprofile/Makefile llvm-3.0.src/runtime/libprofile/Makefile
    old new ifeq ($(HOST_OS),Darwin) 
    4040                         -Wl,-dead_strip \
    4141                         -Wl,-seg1addr -Wl,0xE0000000
    4242
    43     # Mac OS X 10.4 and earlier tools do not allow a second -install_name on
    44     # command line.
    4543    DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
    46     ifneq ($(DARWIN_VERS),8)
     44    ifeq ($(DARWIN_VERS),8)
     45       LLVMLibsOptions    := $(LLVMLibsOptions)  \
     46                            -Wl,-dylib_install_name \
     47                            -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
     48    else
    4749       LLVMLibsOptions    := $(LLVMLibsOptions)  \
    4850                            -Wl,-install_name \
    4951                            -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
  • tools/llvm-shlib/Makefile

    diff -Naurp llvm-3.0.src.orig/tools/llvm-shlib/Makefile llvm-3.0.src/tools/llvm-shlib/Makefile
    old new ifeq ($(HOST_OS),Darwin) 
    5454                         -Wl,-dead_strip \
    5555                         -Wl,-seg1addr -Wl,0xE0000000
    5656
    57     # Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line
    5857    DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
    59     ifneq ($(DARWIN_VERS),8)
     58    ifeq ($(DARWIN_VERS),8)
     59       LLVMLibsOptions    := $(LLVMLibsOptions)  \
     60                            -Wl,-dylib_install_name \
     61                            -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
     62    else
    6063       LLVMLibsOptions    := $(LLVMLibsOptions)  \
    6164                            -Wl,-install_name \
    6265                            -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
  • tools/lto/Makefile

    diff -Naurp llvm-3.0.src.orig/tools/lto/Makefile llvm-3.0.src/tools/lto/Makefile
    old new ifeq ($(HOST_OS),Darwin) 
    4949                         -Wl,-dead_strip \
    5050                         -Wl,-seg1addr -Wl,0xE0000000
    5151
    52     # Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line
    5352    DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
    54     ifneq ($(DARWIN_VERS),8)
     53    ifeq ($(DARWIN_VERS),8)
     54       LLVMLibsOptions    := $(LLVMLibsOptions)  \
     55                            -Wl,-dylib_install_name \
     56                            -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
     57    else
    5558       LLVMLibsOptions    := $(LLVMLibsOptions)  \
    5659                            -Wl,-install_name \
    5760                            -Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
Note: See TracBrowser for help on using the repository browser.