diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-17 13:39:03 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-02-06 10:56:11 -0500 |
commit | aa09469fc64467d1748c6041befb55bbad9e2328 (patch) | |
tree | 7378e736f0e74d16a9eda321c55f641f94de5f66 /sim/common | |
parent | 2c6f2aa66499332b7bb016869fd01267ca1b52ef (diff) | |
download | gdb-aa09469fc64467d1748c6041befb55bbad9e2328.zip gdb-aa09469fc64467d1748c6041befb55bbad9e2328.tar.gz gdb-aa09469fc64467d1748c6041befb55bbad9e2328.tar.bz2 |
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.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/ChangeLog | 7 | ||||
-rw-r--r-- | sim/common/Make-common.in | 6 | ||||
-rw-r--r-- | sim/common/acinclude.m4 | 3 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index d1a1526..e52d34b 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,10 @@ +2021-02-06 Mike Frysinger <vapier@gentoo.org> + + * Make-common.in (HDEFINES, TDEFINES): Delete. + (CONFIG_CFLAGS): Delete $(HDEFINES) $(TDEFINES). + * acinclude.m4 (SIM_AC_COMMON): Delete AC_SUBST(HDEFINES) and + bfd/configure.host sourcing. + 2021-02-04 Mike Frysinger <vapier@gentoo.org> * gennltvals.py (TARGETS): Add riscv. diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index 8740a4a..99d55fb 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -93,9 +93,6 @@ WERROR_CFLAGS = @WERROR_CFLAGS@ SIM_WARN_CFLAGS = $(WARN_CFLAGS) SIM_WERROR_CFLAGS = $(WERROR_CFLAGS) -HDEFINES = @HDEFINES@ -TDEFINES = - AR = @AR@ AR_FLAGS = rc RANLIB = @RANLIB@ @@ -230,8 +227,7 @@ CONFIG_CFLAGS = \ $(SIM_WARN_CFLAGS) \ $(SIM_WERROR_CFLAGS) \ $(SIM_HARDWARE) \ - $(SIM_EXTRA_CFLAGS) \ - $(HDEFINES) $(TDEFINES) + $(SIM_EXTRA_CFLAGS) CSEARCH = -I. -I$(srcdir) -I../common -I$(srccom) \ -I../../include -I$(srcroot)/include \ -I../../bfd -I$(srcroot)/bfd \ diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4 index 149ddc7..0ad2ca8 100644 --- a/sim/common/acinclude.m4 +++ b/sim/common/acinclude.m4 @@ -40,7 +40,6 @@ fi AC_SUBST(CC_FOR_BUILD) AC_SUBST(CFLAGS) -AC_SUBST(HDEFINES) AR=${AR-ar} AC_SUBST(AR) AC_PROG_RANLIB @@ -135,8 +134,6 @@ AM_CONDITIONAL(PLUGINS, test "$plugins" = yes) LT_INIT([dlopen]) AC_SUBST(lt_cv_dlopen_libs) -. ${srcdir}/../../bfd/configure.host - dnl Standard (and optional) simulator options. dnl Eventually all simulators will support these. dnl Do not add any here that cannot be supported by all simulators. |