49 | | if {(${os.arch} == "i386" && $build_arch == "i386") || (${os.arch} == "powerpc" && $build_arch == "ppc")} { |
50 | | configure.env-append CFLAGS_FOR_TARGET="-m32 ${configure.cflags}" |
51 | | } elseif {(${os.arch} == "i386" && $build_arch == "x86_64") || (${os.arch} == "powerpc" && $build_arch == "ppc64")} { |
52 | | configure.env-append CFLAGS_FOR_TARGET="-m64 ${configure.cflags}" |
53 | | } else { |
54 | | pre-fetch { |
55 | | return -code error "Cannot build $name for $build_arch" |
56 | | } |
57 | | } |
| 49 | configure.env-append CFLAGS_FOR_TARGET="${configure.cflags}" |