58 | | if {![variant_isset universal] || ![variant_exists universal]} { |
59 | | # specify only the single target, otherwise 'configure' will try |
60 | | # for a 'universal' install. |
61 | | switch ${build_arch} { |
62 | | i386 { set tgt_isa x86 } |
63 | | ppc { set tgt_isa ppc32 } |
64 | | default { set tgt_isa ${build_arch} } |
65 | | } |
66 | | configure.args-append --target=${tgt_isa}-${os.platform}${os.major}-gcc |
67 | | } else { |
| 56 | set my_targets(ppc) ppc32 |
| 57 | set my_targets(ppc64) ppc64 |
| 58 | set my_targets(i386) x86 |
| 59 | set my_targets(x86_64) x86_64 |
| 60 | if {[variant_isset universal]} { |
73 | | # tell configure the target; probably not necessary |
74 | | configure.args-append --target=universal-${os.platform}${os.major}-gcc |
| 66 | configure.universal_args-delete --disable-dependency-tracking |
| 67 | foreach my_arch ${configure.universal_archs} { |
| 68 | set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.platform}${os.major}-gcc |
| 69 | } |
| 70 | } else { |
| 71 | # specify only the single target, otherwise 'configure' will try |
| 72 | # for a universal install. |
| 73 | configure.args-append --target=$my_targets(${build_arch})-${os.platform}${os.major}-gcc |