Browse Source

gcc: fix to help configure to use the native libraries of gmp, mpfr, ppl and cloog-ppl we build in the toolchain directory

user/amery/mess
Christian Wiese 15 years ago
committed by Alejandro Mery
parent
commit
c507b1907e
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      base/gcc/gcc.conf

+ 7
- 0
base/gcc/gcc.conf

@ -115,6 +115,13 @@ if atstage toolchain; then
var_append confopt " " "--disable-shared"
var_append confopt " " "--disable-libssp"
var_append confopt " " "--disable-libgomp"
# use the native libraries we build in the toolchain directory
var_append extraconfopt ' ' '--with-gmp=$root'
var_append extraconfopt ' ' '--with-mpfr=$root --with-mpfr-lib=$root/$libdir'
var_append extraconfopt ' ' '--with-ppl=$root'
var_append extraconfopt ' ' '--with-cloog=$root'
export LDFLAGS="-Wl,-rpath,${root}${libdir}"
fi
if ! atstage native; then

Loading…
Cancel
Save