aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-07-06 23:50:06 -0400
committerMike Frysinger <vapier@gentoo.org>2021-07-08 02:30:37 -0400
commitc8d4ff8a3a38038942299acea0d6b2d4ba1bc9b9 (patch)
treef9dd7303f9a80ecd69ba0a1ccb270dbc3679f4b2 /sim
parent14a6b9b4b68c33f1182c8e6060dcb25514268af9 (diff)
downloadgdb-c8d4ff8a3a38038942299acea0d6b2d4ba1bc9b9.zip
gdb-c8d4ff8a3a38038942299acea0d6b2d4ba1bc9b9.tar.gz
gdb-c8d4ff8a3a38038942299acea0d6b2d4ba1bc9b9.tar.bz2
sim: erc32: use libsim.a for common objects
We're starting to move more objects to the common build that sis did not need before, so linking them is causing problems (when common objects end up needing symbols from non-common objects). Switch it to the libsim.a archive which will allow the link to pull out only what it needs.
Diffstat (limited to 'sim')
-rw-r--r--sim/erc32/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/erc32/Makefile.in b/sim/erc32/Makefile.in
index 9ca0e35..4196e25 100644
--- a/sim/erc32/Makefile.in
+++ b/sim/erc32/Makefile.in
@@ -41,9 +41,9 @@ SIM_WERROR_CFLAGS =
SIS_OFILES = exec.o erc32.o func.o help.o float.o
all: sis$(EXEEXT)
-sis$(EXEEXT): sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS)
+sis$(EXEEXT): sis.o $(SIS_OFILES) libsim.a $(LIBDEPS)
$(CC) $(ALL_CFLAGS) -o sis$(EXEEXT) \
- sis.o $(SIS_OFILES) $(COMMON_OBJS) $(EXTRA_LIBS)
+ sis.o $(SIS_OFILES) libsim.a $(EXTRA_LIBS)
# Copy the files into directories where they will be run.
install-sis: installdirs