From 2599933a07a6204a810bca50e0d8af61aa604776 Mon Sep 17 00:00:00 2001 From: "Dongkyun, Son" Date: Thu, 20 Jul 2017 12:22:51 +0900 Subject: Replace Warning for "--with-arch overrides --with-cpu=$with_cpu" Signed-off-by: Dongkyun, Son --- gcc/config.gcc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gcc/config.gcc b/gcc/config.gcc index d8016541dae..782710d2b59 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -3798,16 +3798,16 @@ case "${target}" in ;; esac - if test "x$with_arch" != x && test "x$with_cpu" != x; then - echo "Switch \"--with-arch\" may not be used with switch \"--with-cpu\"" 1>&2 - exit 1 - fi - - if test "x$with_cpu" != x && test "x$with_tune" != x; then - echo "Switch \"--with-tune\" may not be used with switch \"--with-cpu\"" 1>&2 - exit 1 - fi +# if test "x$with_arch" != x && test "x$with_cpu" != x; then +# echo "Switch \"--with-arch\" may not be used with switch \"--with-cpu\"" 1>&2 +# exit 1 +# fi +# if test "x$with_cpu" != x && test "x$with_tune" != x; then +# echo "Switch \"--with-tune\" may not be used with switch \"--with-cpu\"" 1>&2 +# exit 1 +# fi + echo "Warning: --with-arch overrides --with-cpu=$with_cpu" 1>&2 # Add extra multilibs if test "x$with_multilib_list" != x; then arm_multilibs=`echo $with_multilib_list | sed -e 's/,/ /g'` -- cgit v1.2.3