aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-12-31 20:43:28 +0000
committerIan Lance Taylor <ian@airs.com>1996-12-31 20:43:28 +0000
commit6ded661565d1249128822ddfcf3232db8c8cdae2 (patch)
tree0cd8c32e4d680bc12649f52a5202a24aed5c8845 /ld
parent1a4752c6641d18862532bb6fac2680e5c7ed3dc6 (diff)
downloadgdb-6ded661565d1249128822ddfcf3232db8c8cdae2.zip
gdb-6ded661565d1249128822ddfcf3232db8c8cdae2.tar.gz
gdb-6ded661565d1249128822ddfcf3232db8c8cdae2.tar.bz2
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog2
-rw-r--r--ld/Makefile.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 026c5fe..f4d6a47 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,7 @@
Tue Dec 31 14:48:30 1996 Ian Lance Taylor <ian@cygnus.com>
+ * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
+
* ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib
fields.
* lexsup.c (parse_args): Recognize --auxiliary/-f and
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 28b9839..9309c1d 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -187,7 +187,7 @@ LINTFLAGS = $(INCLUDES) $(EXTRA_DEF)
#.cc.o:
# $(CXX) -c -I$(srcdir) $(CXXFLAGS) $(CFLAGS) $<
-ALL_CFLAGS = $(INCLUDES) @HDEFINES@ $(CFLAGS)
+ALL_CFLAGS = -D_GNU_SOURCE $(INCLUDES) @HDEFINES@ $(CFLAGS)
.c.o:
$(CC) -c $(ALL_CFLAGS) $<