diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-17 14:45:25 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-04-02 23:31:14 -0400 |
commit | c2783492b62faa62bc501ffdd18fa0b6aa8d64b6 (patch) | |
tree | da47b05f876d4c9955dbcee8c91a91624807a1a9 /sim/Makefile.am | |
parent | ca698bee0a391bcde5cb5e29fde5df86ba28a04a (diff) | |
download | gdb-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.am')
-rw-r--r-- | sim/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/Makefile.am b/sim/Makefile.am index c6e2d04..f9084d3 100644 --- a/sim/Makefile.am +++ b/sim/Makefile.am @@ -16,7 +16,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. AUTOMAKE_OPTIONS = dejagnu foreign no-dist subdir-objects -ACLOCAL_AMFLAGS = -I.. -I../config +ACLOCAL_AMFLAGS = -Im4 -I.. -I../config srcroot = $(srcdir)/.. @@ -24,6 +24,9 @@ SUBDIRS = @subdirs@ MOSTLYCLEANFILES = core +COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS) $(CFLAGS_FOR_BUILD) +LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ + # Generate nltvals.def for newlib/libgloss using devo and build tree. # This file is shipped with distributions so we build in the source dir. # Use `make nltvals' to rebuild. |