Browse Source

ppl: changed to pass LDFLAGS and CPPFLAGS through configprefix at toolchain stage

user/karasz/firmware
Christian Wiese 13 years ago
parent
commit
c117435692
  1. 4
      develop/ppl/ppl.conf

4
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

Loading…
Cancel
Save