Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 14 Sep 2000 11:36:56 +0200 (MET DST) From: Marc Herbert To: cygwin AT sourceware DOT cygnus DOT com Subject: a patch for gcc-2.95.2-2/libio/Makefile.in Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Here is a one line patch for the file : gcc-2.95.2-2/libio/Makefile.in The bug occurs when you want to compile the libio library with CFLAGS, for instance " -mno-cygwin ". The flags you give are not considered when building the file _G_config.h, which seems bad to me. I don't if the flags $(NOSTDINC) should be also added ? We did not need them. *** Makefile.in 2000/09/14 08:47:42 1.1 --- Makefile.in 2000/09/14 08:47:57 *************** *** 102,108 **** _G_config.h: ${srcdir}/gen-params rootme=`pwd`/ ; export rootme; \ ! CC="$(CC) $(CINCLUDES)"; export CC; \ CXX="$(CXX) $(CXXINCLUDES) $(NOSTDINC) $(CXXFLAGS)"; export CXX; \ CONFIG_NM="$(NM)"; export CONFIG_NM; \ $(SHELL) ${srcdir}/gen-params LIB_VERSION=$(VERSION) $(G_CONFIG_ARGS) >tmp-params.h --- 102,108 ---- _G_config.h: ${srcdir}/gen-params rootme=`pwd`/ ; export rootme; \ ! CC="$(CC) $(CINCLUDES) ${CFLAGS}"; export CC; \ CXX="$(CXX) $(CXXINCLUDES) $(NOSTDINC) $(CXXFLAGS)"; export CXX; \ CONFIG_NM="$(NM)"; export CONFIG_NM; \ $(SHELL) ${srcdir}/gen-params LIB_VERSION=$(VERSION) $(G_CONFIG_ARGS) >tmp-params.h Sincerely, -- Marc Herbert | GIE Dyade (Bull/INRIA) Marc DOT Herbert AT inria DOT fr | http://www.dyade.fr/ tel: +33 4 7661 5258 | VASY Project fax: +33 4 7661 5252 | http://www.inrialpes.fr/vasy -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com