aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
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) $<