aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2014-08-19 16:23:36 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2014-08-19 09:23:36 -0700
commit95204cd5b8f4bf1c475b88300014aa3d020c38ff (patch)
tree935f38e4b591bd55ba15decb02b1e3e55bfd7841 /gcc
parentc2fc1aee966c9b65eb36b77b2087f76fa3fbe410 (diff)
downloadgcc-95204cd5b8f4bf1c475b88300014aa3d020c38ff.zip
gcc-95204cd5b8f4bf1c475b88300014aa3d020c38ff.tar.gz
gcc-95204cd5b8f4bf1c475b88300014aa3d020c38ff.tar.bz2
Set install_gold_as_default to no first
PR other/62168 * configure.ac: Set install_gold_as_default to no first. * configure: Regenerated. From-SVN: r214168
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rwxr-xr-xgcc/configure4
-rw-r--r--gcc/configure.ac5
3 files changed, 9 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2d0e649..0751681 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2014-08-19 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR other/62168
+ * configure.ac: Set install_gold_as_default to no first.
+ * configure: Regenerated.
+
2014-08-19 David Malcolm <dmalcolm@redhat.com>
* sel-sched-ir.h (BB_NOTE_LIST): struct sel_region_bb_info_def's
diff --git a/gcc/configure b/gcc/configure
index 60aaea1..fc78f42 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -21528,6 +21528,7 @@ if test "${enable_ld+set}" = set; then :
fi
+install_gold_as_default=no
# Check whether --enable-gold was given.
if test "${enable_gold+set}" = set; then :
enableval=$enable_gold; case "${enableval}" in
@@ -21540,14 +21541,11 @@ if test "${enable_gold+set}" = set; then :
fi
;;
no)
- install_gold_as_default=no
;;
*)
as_fn_error "invalid --enable-gold argument" "$LINENO" 5
;;
esac
-else
- install_gold_as_default=no
fi
diff --git a/gcc/configure.ac b/gcc/configure.ac
index b5c05ab..c7f0e6a 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2082,6 +2082,7 @@ AC_ARG_ENABLE(ld,
;;
esac])
+install_gold_as_default=no
AC_ARG_ENABLE(gold,
[[ --enable-gold[=ARG] build gold [ARG={default,yes,no}]]],
[case "${enableval}" in
@@ -2094,13 +2095,11 @@ AC_ARG_ENABLE(gold,
fi
;;
no)
- install_gold_as_default=no
;;
*)
AC_MSG_ERROR([invalid --enable-gold argument])
;;
- esac],
-[install_gold_as_default=no])
+ esac])
# Identify the linker which will work hand-in-glove with the newly
# built GCC, so that we can examine its features. This is the linker