Browse Source

gcc: improved to also inject --with-fpu depending on -mfpu

stable/0.6
Christian Wiese 13 years ago
parent
commit
bd6948f0c8
  1. 2
      base/gcc/gcc.conf

2
base/gcc/gcc.conf

@ -21,7 +21,7 @@ hook_add preconf 1 'sed -i -e "s/@toolexeclibdir@/@toolexeclibdir@\/gcc/" libffi
if [ "${ver:0:3}" = "4.4" ]; then
for x in $GCC_WRAPPER_INSERT $GCC_WRAPPER_APPEND; do
case "$x" in
-mabi=*|-march=*|-mcpu=*|-mtune=*) var_append confopt " " "${x/-m/--with-}" ;;
-mabi=*|-march=*|-mcpu=*|-mtune=*|-mfpu=*) var_append confopt " " "${x/-m/--with-}" ;;
esac
done
fi

Loading…
Cancel
Save