diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-22 15:02:06 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-22 15:02:06 +0000 |
commit | 484329b5b1429af304dd60df373652481c6a6a17 (patch) | |
tree | 806a0b394fe1d86609032b0dc97325e56f631027 /include | |
parent | 5e3bb2cd815cacd73c1656c066d21f93736571d9 (diff) | |
download | ATCD-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.GNU | 10 |
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 |