summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun, Son <dongkyun.s@samsung.com>2017-07-20 12:22:51 +0900
committerDongkyun, Son <dongkyun.s@samsung.com>2017-07-20 12:22:51 +0900
commit2599933a07a6204a810bca50e0d8af61aa604776 (patch)
tree2db157280ebf5fe18a28616b914d92882f6d1be1
parent14428fc1d4997b216e76e481b66c817040212b17 (diff)
downloadlinaro-gcc-2599933a07a6204a810bca50e0d8af61aa604776.tar.gz
linaro-gcc-2599933a07a6204a810bca50e0d8af61aa604776.tar.bz2
linaro-gcc-2599933a07a6204a810bca50e0d8af61aa604776.zip
Replace Warning for "--with-arch overrides --with-cpu=$with_cpu"
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
-rw-r--r--gcc/config.gcc18
1 files 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'`