From 51603205f208925559fc7ad835cd75716ab40ef1 Mon Sep 17 00:00:00 2001 From: Janne Blomqvist Date: Tue, 12 Apr 2011 21:10:28 +0300 Subject: [PATCH] Remove _GNU_SOURCE from AM_CPPFLAGS From-SVN: r172330 --- libgfortran/ChangeLog | 5 +++++ libgfortran/Makefile.am | 2 +- libgfortran/Makefile.in | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index e8f714a2f75..c3307b73209 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2011-04-12 Janne Blomqvist + + * Makefile.am: Remove _GNU_SOURCE from AM_CPPFLAGS. + * Makefile.in: Regenerated. + 2011-04-06 Tobias Burnus PR fortran/18918 diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am index d1e6d4f94f2..c38e3300f26 100644 --- a/libgfortran/Makefile.am +++ b/libgfortran/Makefile.am @@ -49,7 +49,7 @@ libgfortranbegin_la_LINK = $(LINK) $(libgfortranbegin_la_LDFLAGS) ## use -iquote AM_CPPFLAGS = -iquote$(srcdir)/io -I$(srcdir)/$(MULTISRCTOP)../gcc \ -I$(srcdir)/$(MULTISRCTOP)../gcc/config $(LIBQUADINCLUDE) \ - -I$(MULTIBUILDTOP)../../$(host_subdir)/gcc -D_GNU_SOURCE + -I$(MULTIBUILDTOP)../../$(host_subdir)/gcc # Fortran rules for complex multiplication and division AM_CFLAGS += -fcx-fortran-rules diff --git a/libgfortran/Makefile.in b/libgfortran/Makefile.in index dac8bb84cc9..fae00d40282 100644 --- a/libgfortran/Makefile.in +++ b/libgfortran/Makefile.in @@ -494,7 +494,7 @@ libgfortranbegin_la_LDFLAGS = -static libgfortranbegin_la_LINK = $(LINK) $(libgfortranbegin_la_LDFLAGS) AM_CPPFLAGS = -iquote$(srcdir)/io -I$(srcdir)/$(MULTISRCTOP)../gcc \ -I$(srcdir)/$(MULTISRCTOP)../gcc/config $(LIBQUADINCLUDE) \ - -I$(MULTIBUILDTOP)../../$(host_subdir)/gcc -D_GNU_SOURCE + -I$(MULTIBUILDTOP)../../$(host_subdir)/gcc gfor_io_src = \ io/close.c \ -- 2.30.2