diff --git a/base/gcc/gcc.conf b/base/gcc/gcc.conf index 02acf186e..d3876075b 100644 --- a/base/gcc/gcc.conf +++ b/base/gcc/gcc.conf @@ -18,9 +18,7 @@ if [ "${ver:0:3}" = "4.4" ]; then for x in $GCC_WRAPPER_INSERT $GCC_WRAPPER_APPEND; do case "$x" in - -march=*) var_append confopt " " "${x/-m/--with-}" ;; - -mcpu=*) var_append confopt " " "${x/-m/--with-}" ;; - -mtune=*) var_append confopt " " "${x/-m/--with-}" ;; + -march=*|-mcpu=*|-mtune=*) var_append confopt " " "${x/-m/--with-}" ;; esac done fi