diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-11-23 18:10:14 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-11-23 18:10:14 +0000 |
commit | d3b50760aae267ca9a4988ce8dc4fae2c6761ff0 (patch) | |
tree | 80e36029ac05e0779a2f72e9e6f9742921858c00 /configure | |
parent | d051516a87f6581ef1355f0da631c51eb38c24f6 (diff) | |
download | gdb-d3b50760aae267ca9a4988ce8dc4fae2c6761ff0.zip gdb-d3b50760aae267ca9a4988ce8dc4fae2c6761ff0.tar.gz gdb-d3b50760aae267ca9a4988ce8dc4fae2c6761ff0.tar.bz2 |
Properly check default linker.
2010-11-23 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/12258
* configure.ac: Correct comments for --enable-gold/--enable-ld.
Properly check default linker.
* configure: Regnerated.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -2854,13 +2854,17 @@ esac # Handle --enable-gold, --enable-ld. # --disable-gold [--enable-ld] # Build only ld. Default option. -# --enable-gold[=default] [--enable-ld] +# --enable-gold [--enable-ld] +# Build both gold and ld. Install gold as "ld.gold", install ld +# as "ld.bfd" and "ld". +# --enable-gold=default [--enable-ld] # Build both gold and ld. Install gold as "ld.gold" and "ld", # install ld as "ld.bfd". # --enable-gold[=default] --disable-ld # Build only gold, which is then installed as both "ld.gold" and "ld". # --enable-gold --enable-ld=default -# Build both gold (installed as "gold") and ld (installed as "ld"). +# Build both gold (installed as "ld.gold") and ld (installed as "ld" +# and ld.bfd). # In other words, ld is default # --enable-gold=default --enable-ld=default # Error. @@ -2920,7 +2924,7 @@ fi case "${ENABLE_LD}" in default) - if test x${default_ld} != xgold; then + if test x${default_ld} != x; then as_fn_error "either gold or ld can be the default ld" "$LINENO" 5 fi ;; |