From 650bcf9d7482a9c3604877e033a2a6b5b76a07c6 Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Tue, 13 Jul 2004 13:01:28 +0000 Subject: [PATCH] * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it for C modules. * mingwex/Makefile.in: Ditto. * profile/Makefile.in: Ditto. --- winsup/mingw/ChangeLog | 4 +++- winsup/mingw/mingwex/Makefile.in | 4 ++-- winsup/mingw/profile/Makefile.in | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 9d6e74a9c..af07e93be 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,7 +1,9 @@ 2004-07-13 Earnie Boyd - * Makefile.in: Move use of --nostdinc++ as GCC3.4 refuses to use it + * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it for C modules. + * mingwex/Makefile.in: Ditto. + * profile/Makefile.in: Ditto. * include/limits.h: Change to new file header preamble. * include/_mingw.h: Increment minor version for 3.4 release. * Makefile.in: Ditto. diff --git a/winsup/mingw/mingwex/Makefile.in b/winsup/mingw/mingwex/Makefile.in index 1369de60d..6612c1d41 100644 --- a/winsup/mingw/mingwex/Makefile.in +++ b/winsup/mingw/mingwex/Makefile.in @@ -84,10 +84,10 @@ MNO_CYGWIN = @MNO_CYGWIN@ W32API_INCLUDE = @W32API_INCLUDE@ INCLUDES = -I$(srcdir) -I$(srcdir)/../include \ - -nostdinc -nostdinc++ \ + -nostdinc \ -iwithprefixbefore include ALL_CFLAGS = $(CFLAGS) $(OPTFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) -ALL_CXXFLAGS = $(CXXFLAGS) $(OPTFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) +ALL_CXXFLAGS = $(CXXFLAGS) $(OPTFLAGS) $(W32API_INCLUDE) $(INCLUDES) -nostdinc++ $(MNO_CYGWIN) AS = @AS@ AR = @AR@ diff --git a/winsup/mingw/profile/Makefile.in b/winsup/mingw/profile/Makefile.in index d6038d591..4786fdd16 100644 --- a/winsup/mingw/profile/Makefile.in +++ b/winsup/mingw/profile/Makefile.in @@ -49,10 +49,10 @@ THREAD_DLL_NAME = $(THREAD_DLL)$(THREAD_DLL_VERSION).dll W32API_INCLUDE = @W32API_INCLUDE@ INCLUDES = -I$(srcdir) -I$(srcdir)/../include \ - -nostdinc -nostdinc++ \ + -nostdinc \ -iwithprefixbefore include ALL_CFLAGS = $(CFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) -ALL_CXXFLAGS = $(CXXFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) +ALL_CXXFLAGS = $(CXXFLAGS) $(W32API_INCLUDE) $(INCLUDES) -nostdinc++ $(MNO_CYGWIN) AS = @AS@ AR = @AR@