summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-22 15:02:06 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-07-22 15:02:06 +0000
commit484329b5b1429af304dd60df373652481c6a6a17 (patch)
tree806a0b394fe1d86609032b0dc97325e56f631027 /include
parent5e3bb2cd815cacd73c1656c066d21f93736571d9 (diff)
downloadATCD-484329b5b1429af304dd60df373652481c6a6a17.tar.gz
ChangeLogTag:Tue Jul 22 14:59:59 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_linux.GNU10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/makeinclude/platform_linux.GNU b/include/makeinclude/platform_linux.GNU
index fb20138d42d..38695572d3b 100644
--- a/include/makeinclude/platform_linux.GNU
+++ b/include/makeinclude/platform_linux.GNU
@@ -83,12 +83,10 @@ ifeq ($(threads),1)
endif # threads
#
-# /usr/include/features.h says all of the below are default.
-# To ensure that they are always set, regardless of #include file order,
-# we'll set them here explicitly.
-#
-CPPFLAGS += -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199506L
-
+# Rely on _GNU_SOURCE to set these defaults defined in /usr/include/features.h
+# instead of setting them directly here (older versions of gcc don't set it
+# for you): _SVID_SOURCE _BSD_SOURCE _POSIX_SOURCE _POSIX_C_SOURCE=199506L, etc...
+CPPFLAGS += -D_GNU_SOURCE
CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG)
DCFLAGS += -g