diff --git a/develop/ppl/ppl.conf b/develop/ppl/ppl.conf index 8e247e8b0..51b56dac5 100644 --- a/develop/ppl/ppl.conf +++ b/develop/ppl/ppl.conf @@ -19,8 +19,8 @@ hook_add preconf 9 'autoreconf -vfis' # use the host g++ and the native libs and headers we have in tools.cross if atstage toolchain; then export CXX=g++ - export LDFLAGS="-Wl,-rpath,${root}${libdir}" - var_append SYSGCC_WRAPPER_INSERT " " "-I${root}${includedir}" var_append extraconfopt ' ' "--with-gmp-lib=$( pkgprefix -r libdir gmp )" var_append extraconfopt ' ' "--with-gmp-include=$( pkgprefix -r includedir gmp )" + var_append configprefix ' ' 'LDFLAGS="-Wl,-rpath,$( pkgprefix -r libdir gmp)"' + var_append configprefix ' ' 'CPPFLAGS="-I$( pkgprefix -r includedir gmp )"' fi