diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-09-09 02:22:48 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-09-09 02:24:00 -0400 |
commit | a13ab747e7abc67fca3568195bf943708261a39e (patch) | |
tree | 1b8d80dff1df7cf0e96b3e2a6bf5de2d3d761f0e /sim/ppc/Makefile.in | |
parent | ee73abf25e8431f4ea8c95629622cf23515c1d07 (diff) | |
download | binutils-a13ab747e7abc67fca3568195bf943708261a39e.zip binutils-a13ab747e7abc67fca3568195bf943708261a39e.tar.gz binutils-a13ab747e7abc67fca3568195bf943708261a39e.tar.bz2 |
sim: ppc: enable use of gnulib
All other sim arches are using this now, so finish up the logic in
the ppc arch to enable gnulib usage here too.
Diffstat (limited to 'sim/ppc/Makefile.in')
-rw-r--r-- | sim/ppc/Makefile.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index b0d2ae9..397e76c 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -25,6 +25,10 @@ srccom = $(srcdir)/../common srcroot = $(srcdir)/../.. srcsim = $(srcdir)/.. +# Helper code from gnulib. +GNULIB_PARENT_DIR = ../.. +include $(GNULIB_PARENT_DIR)/gnulib/Makefile.gnulib.inc + # Settings from top-level configure. include ../arch-subdir.mk @@ -82,11 +86,11 @@ CONFIG_CFLAGS = \ $(DEVZERO_CFLAGS) SIM_FPU_CFLAGS = @sim_fpu_cflags@ -STD_CFLAGS = $(CFLAGS) $(WERROR_CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(INTL_CFLAGS) $(SIM_FPU_CFLAGS) +STD_CFLAGS = $(CFLAGS) $(WERROR_CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(INCGNU) $(INTL_CFLAGS) $(SIM_FPU_CFLAGS) NOWARN_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(INCLUDES) $(SIM_FPU_CFLAGS) BUILD_CFLAGS = $(CFLAGS_FOR_BUILD) $(INCLUDES) $(WARN_CFLAGS) -LIBS = $(COMMON_LIBS) @LIBS@ +LIBS = $(COMMON_LIBS) @LIBS@ $(LIBGNU) $(LIBGNU_EXTRA_LIBS) COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS) LINK_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(LDFLAGS_FOR_BUILD) -o $@ |