Browse Source

gcc: improved to inject --with-float depending on -mfloat-abi

stable/0.6
Christian Wiese 12 years ago
parent
commit
1318f24fd0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      base/gcc/gcc.conf

+ 1
- 0
base/gcc/gcc.conf

@ -22,6 +22,7 @@ if [ "${ver:0:3}" = "4.4" ]; then
for x in $GCC_WRAPPER_INSERT $GCC_WRAPPER_APPEND; do
case "$x" in
-mabi=*|-march=*|-mcpu=*|-mtune=*|-mfpu=*) var_append confopt " " "${x/-m/--with-}" ;;
-mfloat-abi=*) var_append confopt " " "${x/-mfloat-abi/--with-float}" ;;
esac
done
fi

Loading…
Cancel
Save