@ -25,4 +25,5 @@ var_append patchfiles ' ' "$(match_source_file -p '.*\.patch')"
if atstage toolchain; then
var_append extraconfopt ' ' "--with-gmp-include=$( pkgprefix -r includedir gmp )"
var_append extraconfopt ' ' "--with-gmp-lib=$( pkgprefix -r libdir gmp )"
var_append configprefix ' ' LDFLAGS="-Wl,-rpath,$( pkgprefix -r libdir gmp )"
fi