diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-03 13:35:32 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-04 07:42:31 +0700 |
commit | 89cf99a910ccfd95e478be81adc7493db138dfef (patch) | |
tree | 7708e7adfa591aed726b8d35b11ca1aa15afb179 /sim/ppc/Makefile.in | |
parent | 90db43bb0325ce387da536f4939bfe01e80227b2 (diff) | |
download | gdb-89cf99a910ccfd95e478be81adc7493db138dfef.zip gdb-89cf99a910ccfd95e478be81adc7493db138dfef.tar.gz gdb-89cf99a910ccfd95e478be81adc7493db138dfef.tar.bz2 |
sim: build: switch to bfd & opcodes libtool linker scripts
Now that we use libtool to link, we don't need to duplicate all the
libs that bfd itself uses. This simplifies the configure & Makefile.
Diffstat (limited to 'sim/ppc/Makefile.in')
-rw-r--r-- | sim/ppc/Makefile.in | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 2b5a11a..b1fda1f 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -88,7 +88,7 @@ CONFIG_CFLAGS = \ $(DEVZERO_CFLAGS) SIM_FPU_CFLAGS = -DHAVE_COMMON_FPU -I../common -I${srcdir}/../common -STD_CFLAGS = $(CFLAGS) $(WERROR_CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(INCGNU) $(INTL_CFLAGS) $(SIM_FPU_CFLAGS) +STD_CFLAGS = $(CFLAGS) $(WERROR_CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(INCGNU) $(SIM_FPU_CFLAGS) NOWARN_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(INCLUDES) $(SIM_FPU_CFLAGS) BUILD_CFLAGS = $(CFLAGS_FOR_BUILD) $(INCLUDES) $(WARN_CFLAGS) @@ -132,8 +132,7 @@ GDB_INCLUDES = -I../../gdb -I$(srcdir)/../../gdb -I$(srcdir)/../../gdb/config INCLUDES = -I. -I$(srcdir) $(LIB_INCLUDES) $(BFD_INCLUDES) $(GDB_INCLUDES) -I../.. LIBIBERTY_LIB = ../../libiberty/libiberty.a -BFD_LIB = ../../bfd/libbfd.a -ZLIB = $(zlibdir) -lz +BFD_LIB = ../../bfd/libbfd.la TARGETLIB = libsim.a @@ -521,9 +520,9 @@ PACKAGE_SRC = @sim_pk_src@ PACKAGE_OBJ = @sim_pk_obj@ -psim$(EXEEXT): $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP) +psim$(EXEEXT): $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(ECHO_CCLD) $(LIBTOOL) $(AM_V_lt) --tag=CC --mode=link \ - $(CC) $(CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o $(TARGETLIB) $(BFD_LIB) $(ZLIB) $(ZSTD_LIBS) $(LIBINTL) $(LIBIBERTY_LIB) $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o $(TARGETLIB) $(BFD_LIB) $(LIBIBERTY_LIB) $(LIBS) run$(EXEEXT): psim$(EXEEXT) $(SILENCE) rm -f $@ |