mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
sim: drop use of bfd/configure.host
These settings might have made sense in darker compiler times, but I think they're largely obsolete now. Looking through the values that get used in HDEFINES, it's quite limited, and configure itself should handle them. If we still need something, we can leverage standard autoconf macros instead, after we get a clear user report. TDEFINES was never set anywhere and was always empty, so prune that.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2021-02-06 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
||||
2021-01-11 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Call SIM_AC_OPTION_WARNINGS.
|
||||
|
18
sim/lm32/configure
vendored
18
sim/lm32/configure
vendored
@ -684,7 +684,6 @@ PACKAGE
|
||||
C_DIALECT
|
||||
RANLIB
|
||||
AR
|
||||
HDEFINES
|
||||
CC_FOR_BUILD
|
||||
INSTALL_DATA
|
||||
INSTALL_SCRIPT
|
||||
@ -6919,7 +6918,15 @@ fi
|
||||
test -z "$AR" && AR=ar
|
||||
if test -n "$plugin_option"; then
|
||||
if $AR --help 2>&1 | grep -q "\--plugin"; then
|
||||
AR="$AR $plugin_option"
|
||||
touch conftest.c
|
||||
$AR $plugin_option rc conftest.a conftest.c
|
||||
if test "$?" != 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
|
||||
$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
|
||||
else
|
||||
AR="$AR $plugin_option"
|
||||
fi
|
||||
rm -f conftest.*
|
||||
fi
|
||||
fi
|
||||
test -z "$AR_FLAGS" && AR_FLAGS=cru
|
||||
@ -8579,7 +8586,6 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
AR=${AR-ar}
|
||||
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
@ -12943,7 +12949,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12946 "configure"
|
||||
#line 12952 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -13049,7 +13055,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 13052 "configure"
|
||||
#line 13058 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -13288,8 +13294,6 @@ CC="$lt_save_CC"
|
||||
|
||||
|
||||
|
||||
. ${srcdir}/../../bfd/configure.host
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user