37 | | reinplace -E "/^MYLDFLAGS=/s|\$| ${configure.ldflags}|" ${worksrcpath}/src/Makefile |
38 | | reinplace -E "/^CFLAGS=/s|\$| ${configure.cflags} ${configure.cppflags}|" ${worksrcpath}/src/Makefile |
| 37 | set myldflags ${configure.ldflags} |
| 38 | set cflags "${configure.cflags} ${configure.cppflags}" |
| 39 | |
| 40 | if {[variant_isset universal]} { |
| 41 | set myldflags "${myldflags} ${configure.universal_ldflags}" |
| 42 | set cflags "${cflags} ${configure.universal_cflags} ${configure.universal_cppflags}" |
| 43 | } |
| 44 | |
| 45 | reinplace -E "/^MYLDFLAGS=/s|\$| ${myldflags}|" ${worksrcpath}/src/Makefile |
| 46 | reinplace -E "/^CFLAGS=/s|\$| ${cflags}|" ${worksrcpath}/src/Makefile |