aboutsummaryrefslogtreecommitdiff
path: root/gas
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 /gas
parent1a4752c6641d18862532bb6fac2680e5c7ed3dc6 (diff)
downloadgdb-6ded661565d1249128822ddfcf3232db8c8cdae2.zip
gdb-6ded661565d1249128822ddfcf3232db8c8cdae2.tar.gz
gdb-6ded661565d1249128822ddfcf3232db8c8cdae2.tar.bz2
* Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/Makefile.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1d175e9..5b4fe16 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -8,6 +8,8 @@ Tue Dec 31 15:12:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
end-sanitize-v850
Tue Dec 31 12:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
+ * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
+
* config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and
add segment argument. If OBJ_ELF, treat a relocation against a
symbol in a linkonce section like a relocation against an external
diff --git a/gas/Makefile.in b/gas/Makefile.in
index b625d5a..afaa93e 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -227,7 +227,7 @@ stamp-mk.com: vmsconf.sh Makefile
# Now figure out from those variables how to compile and link.
# This is the variable actually used when we compile.
-ALL_CFLAGS = $(INTERNAL_CFLAGS) $(CROSS) $(CFLAGS) $(HDEFINES) $(TDEFINES)
+ALL_CFLAGS = -D_GNU_SOURCE $(INTERNAL_CFLAGS) $(CROSS) $(CFLAGS) $(HDEFINES) $(TDEFINES)
# How to link with both our special library facilities
# and the system's installed libraries.