Commits
Marcus Calhoun-Lopez authored and MarcusCalhoun-Lopez committed bf455821bf3
125 125 | set build_triplet [split [exec -ignorestderr /usr/bin/env CC=${configure.cc} ${worksrcpath}/config.guess] -] |
126 126 | set build_cpu [lindex $build_triplet 0] |
127 127 | if { ${build_cpu} eq "x86_64" || ${build_cpu} eq "i386" || ${build_cpu} eq "powerpc64" || ${build_cpu} eq "powerpc" } { |
128 128 | ui_warn "No processor dependent assembly code being used. gmp might be slower." |
129 129 | } |
130 130 | } |
131 131 | } |
132 132 | |
133 133 | xcode_workaround.type append_to_compiler_name |
134 134 | |
135 + | # see https://trac.macports.org/ticket/59493 |
136 + | if {${os.platform} eq "darwin" && ${os.major} < 10 && [string match *clang* ${configure.compiler}]} { |
137 + | depends_build-append port:cctools |
138 + | configure.env-append NM=${prefix}/bin/nm |
139 + | configure.args-append lt_cv_path_NM=${prefix}/bin/nm |
140 + | } |
141 + | |
135 142 | if {![variant_isset universal]} { |
136 143 | if {${build_arch} eq "x86_64"} { |
137 144 | configure.env-append ABI=64 |
138 145 | } elseif {${build_arch} eq "ppc64"} { |
139 146 | configure.env-append ABI=mode64 |
140 147 | } else { |
141 148 | configure.env-append ABI=32 |
142 149 | } |
143 150 | |
144 151 | set uname_processor "" |