diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-10-31 18:35:52 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-03 12:55:19 +0545 |
commit | a1af8f405cfa5bdb8c521768d662e322fc8dde63 (patch) | |
tree | 87086f1507a5623eb63f0ca72c44efc47baf56e9 /sim/ppc | |
parent | 46a1e1f20b1192da31104f9ed436ea33328c79d4 (diff) | |
download | gdb-a1af8f405cfa5bdb8c521768d662e322fc8dde63.zip gdb-a1af8f405cfa5bdb8c521768d662e322fc8dde63.tar.gz gdb-a1af8f405cfa5bdb8c521768d662e322fc8dde63.tar.bz2 |
sim: move common flags to default AM_CPPFLAGS
Since all host files we compile use these settings, move them out of
libcommon.a and into the default AM_CPPFLAGS. This has the effect of
dropping the custom per-target automake rules. Currently it saves us
~150 lines, but since it's about ~8 lines per object, the overhead
will increase quite a bit as we merge more files into a single build.
This also changes the object output names, so we have to tweak the
rules that were pulling in the common objects when linking.
Diffstat (limited to 'sim/ppc')
-rw-r--r-- | sim/ppc/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index b0c073b..9eec425 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -471,7 +471,7 @@ COMMON_OBJS_NAMES = \ target-newlib-signal.o \ target-newlib-syscall.o \ version.o -COMMON_OBJS = $(COMMON_OBJS_NAMES:%=../common/common_libcommon_a-%) +COMMON_OBJS = $(COMMON_OBJS_NAMES:%=../common/%) # NOTE: semantics, idecode and psim put last so smaller files are compiled # first |