Ignore:
Timestamp:
Feb 15, 2015, 10:47:29 PM (4 years ago)
Author:
jeremyhu@…
Message:

cctools: Adjust cppflags to possibly fix a build issue on Tiger (#46875)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/cctools/Portfile

    r132915 r132952  
    124124}
    125125
     126configure.cppflags-append -I${worksrcpath}/../ld64-${ld64_version}/src/abstraction -I${worksrcpath}/../ld64-${ld64_version}/src/other -I${worksrcpath}/include
     127
    126128pre-build {
    127129    build.args-append \
     
    130132        BUILD_DYLIBS=NO \
    131133        CC="${configure.cc} ${configure.cflags}" \
    132         CXX="${configure.cxx} ${configure.cxxflags} -I${worksrcpath}/../ld64-${ld64_version}/src/abstraction" \
     134        CXX="${configure.cxx} ${configure.cxxflags}" \
    133135        CXXLIB="${cxx_stdlibflags}" \
    134136        TRIE=-DTRIE_SUPPORT \
    135137        RC_ARCHS="[get_canonical_archs]" \
    136         SDK="-I${prefix}/include -I${worksrcpath}/../ld64-${ld64_version}/src/other"
     138        SDK="${configure.cppflags}"
    137139
    138140    if {${llvm_version} != ""} {
     
    154156        BUILD_DYLIBS=NO \
    155157        CC="${configure.cc} ${configure.cflags}" \
    156         CXX="${configure.cxx} ${configure.cxxflags} -I${worksrcpath}/../ld64-${ld64_version}/src/abstraction" \
     158        CXX="${configure.cxx} ${configure.cxxflags}" \
    157159        CXXLIB="${cxx_stdlibflags}" \
    158160        TRIE=-DTRIE_SUPPORT \
    159161        RC_ARCHS="[get_canonical_archs]" \
    160         SDK="-I${prefix}/include -I${worksrcpath}/../ld64-${ld64_version}/src/other"
     162        SDK="${configure.cppflags}"
    161163
    162164    if {${llvm_version} != ""} {
Note: See TracChangeset for help on using the changeset viewer.