| 54 | options python.add_archflags |
| 55 | default python.add_archflags yes |
| 56 | pre-build { |
| 57 | if {${python.add_archflags}} { |
| 58 | if {[variant_exists universal] && [variant_isset universal]} { |
| 59 | build.env-append CFLAGS="${configure.universal_cflags}" \ |
| 60 | OBJCFLAGS="${configure.universal_cflags}" \ |
| 61 | CXXFLAGS="${configure.universal_cxxflags}" \ |
| 62 | LDFLAGS="${configure.universal_ldflags}" |
| 63 | } else { |
| 64 | build.env-append CFLAGS="${configure.cc_archflags}" \ |
| 65 | OBJCFLAGS="${configure.objc_archflags}" \ |
| 66 | CXXFLAGS="${configure.cxx_archflags}" \ |
| 67 | LDFLAGS="${configure.ld_archflags}" \ |
| 68 | FFLAGS="${configure.f77_archflags}" \ |
| 69 | F90FLAGS="${configure.f90_archflags}" \ |
| 70 | FCFLAGS="${configure.fc_archflags}" |
| 71 | } |
| 72 | } |
| 73 | } |