This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

a patch for gcc-2.95.2-2/libio/Makefile.in



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.Herbert@inria.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]