From c117435692b1159560bed67732b0177a0d5739e1 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 10 Aug 2012 20:17:11 +0200 Subject: [PATCH] ppl: changed to pass LDFLAGS and CPPFLAGS through configprefix at toolchain stage --- develop/ppl/ppl.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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