aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-17 14:45:25 -0500
committerMike Frysinger <vapier@gentoo.org>2021-04-02 23:31:14 -0400
commitc2783492b62faa62bc501ffdd18fa0b6aa8d64b6 (patch)
treeda47b05f876d4c9955dbcee8c91a91624807a1a9 /sim/Makefile.in
parentca698bee0a391bcde5cb5e29fde5df86ba28a04a (diff)
downloadgdb-c2783492b62faa62bc501ffdd18fa0b6aa8d64b6.zip
gdb-c2783492b62faa62bc501ffdd18fa0b6aa8d64b6.tar.gz
gdb-c2783492b62faa62bc501ffdd18fa0b6aa8d64b6.tar.bz2
sim: unify toolchain settings
The toplevel, common, and igen dirs all have their own code for setting up toolchain settings. Unify all of that in a new macro.
Diffstat (limited to 'sim/Makefile.in')
-rw-r--r--sim/Makefile.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 85849f2..d109907 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -124,7 +124,9 @@ subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
$(top_srcdir)/../config/lead-dot.m4 \
- $(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
+ $(top_srcdir)/../config/override.m4 \
+ $(top_srcdir)/m4/sim_ac_toolchain.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
@@ -209,18 +211,22 @@ CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
+C_DIALECT = @C_DIALECT@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
+EGREP = @EGREP@
EXEEXT = @EXEEXT@
+GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
+LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
@@ -297,10 +303,12 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = dejagnu foreign no-dist subdir-objects
-ACLOCAL_AMFLAGS = -I.. -I../config
+ACLOCAL_AMFLAGS = -Im4 -I.. -I../config
srcroot = $(srcdir)/..
SUBDIRS = @subdirs@
MOSTLYCLEANFILES = core site-srcdir.exp testrun.log testrun.sum
+COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS) $(CFLAGS_FOR_BUILD)
+LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@
# Tweak the site.exp so it works with plain `runtest` from user.
EXTRA_DEJAGNU_SITE_CONFIG = site-srcdir.exp