| 221 | if {![variant_isset universal]} { |
| 222 | # Honour 'build_arch', if not universal as per #28327 |
| 223 | if {[lsearch ${build_arch} ppc*] != -1} { |
| 224 | build.args-append architecture=power |
| 225 | if {${os.arch} != "powerpc"} { |
| 226 | build.args-append --disable-long-double |
| 227 | } |
| 228 | } else { |
| 229 | if {[lsearch ${build_arch} *86*] != -1} { |
| 230 | build.args-append architecture=x86 |
| 231 | } else { |
| 232 | error "Current value of 'build_arch' is not supported." |
| 233 | } |
| 234 | } |
| 235 | if {[lsearch ${build_arch} *64] != -1} { |
| 236 | build.args-append address-model=64 |
| 237 | } else { |
| 238 | build.args-append address-model=32 |
| 239 | } |
| 240 | } |
| 241 | |