Ticket #31957: makeicns.diff
File makeicns.diff, 962 bytes (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
Portfile
33 33 variant universal { 34 34 } 35 35 36 if {[variant_isset universal]} {37 set archflags ${configure.universal_cflags}38 } else {39 set archflags ${configure.cc_archflags}40 }41 42 36 build.env-append CC=${configure.cc} \ 43 37 CXX=${configure.cxx} \ 44 CFLAGS="${configure.cflags} ${archflags}" \45 CXXFLAGS="${configure.cxxflags} ${archflags}" \46 LDFLAGS="[join ${configure.ldflags}] ${archflags}"38 CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \ 39 CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \ 40 LDFLAGS="[join ${configure.ldflags}] [get_canonical_archflags ld]" 47 41 48 42 if {${configure.sdkroot} != ""} { 49 43 build.env-append SDK=${configure.sdkroot}