Ticket #46119: clang_darwin-remove_arm.diff

File clang_darwin-remove_arm.diff, 815 bytes (added by h.rayflood@…, 10 years ago)
  • Portfile

     
    237237        # http://trac.macports.org/ticket/33272
    238238        if {![variant_isset arm_runtime]} {
    239239            reinplace {/^SubDirs/ s/arm//} ${worksrcpath}/projects/compiler-rt/lib/Makefile.mk
    240             reinplace {/^UniversalArchs/ s/arm[^ )]* *//g} ${worksrcpath}/projects/compiler-rt/make/platform/clang_darwin.mk
     240            reinplace {/^UniversalArchs.*arm/ s/^/#/} ${worksrcpath}/projects/compiler-rt/make/platform/clang_darwin.mk
    241241
    242242            reinplace {/cc_kext_ios5/ s/^/#/} ${worksrcpath}/projects/compiler-rt/make/platform/clang_darwin.mk
    243243            reinplace {s/cc_kext_ios5.a//} ${worksrcpath}/tools/clang/runtime/compiler-rt/Makefile