httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ICS.UCI.EDU>
Subject [PATCH] Don't propagate EXTRA_CFLAGS to regex library
Date Mon, 10 Feb 1997 21:33:07 GMT
Since we aren't going to fix the warnings, this is the easiest way
to make them go away without risking breakage.

.....Roy

Index: Makefile.tmpl
===================================================================
RCS file: /export/home/cvs/apache/src/Makefile.tmpl,v
retrieving revision 1.40
diff -c -r1.40 Makefile.tmpl
*** Makefile.tmpl	1997/01/26 01:59:03	1.40
--- Makefile.tmpl	1997/02/10 21:29:36
***************
*** 4,9 ****
--- 4,10 ----
  # by the configure script to make the actual Makefile.
  
  CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
+ CFLAGS_REGEX=$(OPTIM) $(CFLAGS1)
  LIBS=$(EXTRA_LIBS) $(LIBS1)
  INCLUDES=$(INCLUDES1) $(EXTRA_INCLUDES)
  LFLAGS=$(LFLAGS1) $(EXTRA_LFLAGS)
***************
*** 29,35 ****
  	$(CC) $(LFLAGS)  -o httpd $(OBJS) $(REGLIB) $(LIBS)
  
  regex/libregex.a:
! 	(cd regex; $(MAKE) lib CC=$(CC) AUX_CFLAGS='$(CFLAGS)' RANLIB='$(RANLIB)')
  
  modules/proxy/libproxy.a:
  	(cd modules; \
--- 30,36 ----
  	$(CC) $(LFLAGS)  -o httpd $(OBJS) $(REGLIB) $(LIBS)
  
  regex/libregex.a:
! 	(cd regex; $(MAKE) lib CC=$(CC) AUX_CFLAGS='$(CFLAGS_REGEX)' RANLIB='$(RANLIB)')
  
  modules/proxy/libproxy.a:
  	(cd modules; \

Mime
View raw message