diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-15 22:45:07 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-20 00:12:11 -0400 |
commit | d73f39ee4309d340b97974e49f34e24b8b93fc61 (patch) | |
tree | 18d6d1500fd767acdffdcef39a9ef97fde27c337 /sim/Makefile.am | |
parent | 406b4ada55b2957c10fedaeaada801e77912d976 (diff) | |
download | gdb-d73f39ee4309d340b97974e49f34e24b8b93fc61.zip gdb-d73f39ee4309d340b97974e49f34e24b8b93fc61.tar.gz gdb-d73f39ee4309d340b97974e49f34e24b8b93fc61.tar.bz2 |
sim: move sim-inline to the common code
This will allow us to build the common code with the same inline
settings as the arch subdirs, and only do the test once.
Diffstat (limited to 'sim/Makefile.am')
-rw-r--r-- | sim/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/Makefile.am b/sim/Makefile.am index 8d53114..1c5b276 100644 --- a/sim/Makefile.am +++ b/sim/Makefile.am @@ -36,7 +36,9 @@ DISTCLEANFILES = MOSTLYCLEANFILES = core AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) -AM_CPPFLAGS = -I$(srcroot)/include +AM_CPPFLAGS = \ + -I$(srcroot)/include \ + $(SIM_INLINE) COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS) $(CFLAGS_FOR_BUILD) LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ |