Browse Source

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

stable/0.6
Christian Wiese 13 years ago
parent
commit
1318f24fd0
  1. 1
      base/gcc/gcc.conf

1
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