Ticket #47729: clang-3.7-xcode4.diff

File clang-3.7-xcode4.diff, 1.0 KB (added by h.rayflood@…, 9 years ago)
  • files/leopard-no-asan.patch

     
    3434 
    3535 XCRunSdkPath = \
    3636   $(shell \
     37@@ -102,11 +101,6 @@
     38 RuntimeLibrary.darwin.Configs += cc_kext_ios5.a
     39 endif
     40 
     41-ifneq ($(IOSSIM_SDK),)
     42-RuntimeLibrary.darwin.Configs += asan_iossim_dynamic.dylib \
     43-                                 ubsan_iossim_dynamic.dylib
     44-endif
     45-
     46 RuntimeLibrary.macho_embedded.Configs := \
     47        hard_static.a hard_pic.a
     48 ifneq (,$(findstring ARM,$(TARGETS_TO_BUILD)))
  • Portfile

     
    218218        configure.optflags    -Os
    219219    }
    220220
    221     if {${subport} eq "clang-${llvm_version}" && ${os.major} <= 10} {
     221    if {${subport} eq "clang-${llvm_version}" && [vercmp $xcodeversion 5.0] < 0} {
    222222        patchfiles-append leopard-no-asan.patch
    223223    }
    224224