This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/sim/ppc] Fix intl fallout
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 22 Jun 2002 15:08:07 -0400
- Subject: [patch/sim/ppc] Fix intl fallout
Just FYI,
A bit of fallout from adding intl stuff to GDB. The PPC ends up trying
to include <locale.h> so it is added to its path.
committed,
Andrew
2002-06-22 Andrew Cagney <ac131313@redhat.com>
* Makefile.in (INTL_SRC): Define.
(INTL_CFLAGS): Define.
(INTL_DIR): Define.
(STD_CFLAGS): Add INTL_CFLAGS.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/ppc/Makefile.in,v
retrieving revision 1.5
diff -u -r1.5 Makefile.in
--- Makefile.in 12 Jan 2002 10:21:12 -0000 1.5
+++ Makefile.in 22 Jun 2002 19:05:18 -0000
@@ -113,7 +113,7 @@
$(TERMIO_CFLAGS) \
$(DEVZERO_CFLAGS)
-STD_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARNING_CFLAGS) $(SIM_CFLAGS) $(HDEFINES) $(TDEFINES) $(INCLUDES)
+STD_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARNING_CFLAGS) $(SIM_CFLAGS) $(HDEFINES) $(TDEFINES) $(INCLUDES) $(INTL_CFLAGS)
NOWARN_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(SIM_CFLAGS) $(HDEFINES) $(TDEFINES) $(INCLUDES)
BUILD_CFLAGS = -g -O $(INCLUDES) $(WARNING_CFLAGS)
@@ -154,6 +154,10 @@
INTLLIBS = @INTLLIBS@
INTLDEPS = @INTLDEPS@
+INTL_DIR = ../../intl
+INTL_SRC = $(srcdir)/$(INTL_DIR)
+INTL_CFLAGS = -I$(INTL_DIR) -I$(INTL_SRC)
+
TARGETLIB = libsim.a