delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/14/05:37:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <Marc DOT Herbert AT inrialpes DOT fr>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: a patch for gcc-2.95.2-2/libio/Makefile.in
Message-ID: <Pine.SOL.3.94.1000914113249.17845B-100000@ubac.inrialpes.fr>
MIME-Version: 1.0

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019