ben 96/05/27 15:34:07
Modified: src Configuration.tmpl Makefile.tmpl
Log:
It irks me that I have to lose inlining just to fix an optimiser bug that
shows
up in http_bprintf.c, so ... make it so I don't!
Revision Changes Path
1.15 +2 -1 apache/src/Configuration.tmpl
Index: Configuration.tmpl
===================================================================
RCS file: /export/home/cvs/apache/src/Configuration.tmpl,v
retrieving revision 1.14
retrieving revision 1.15
diff -C3 -r1.14 -r1.15
*** Configuration.tmpl 1996/05/27 21:08:26 1.14
--- Configuration.tmpl 1996/05/27 22:34:05 1.15
***************
*** 104,111 ****
# For SCO OpenServer Release 5
# -K noinline is needed to work around an optimiser bug which appears in
# mod_bprintf.c
! #AUX_CFLAGS= -DSCO5 -K noinline
#AUX_LIBS=-lsocket -lmalloc -lprot
# For SVR4
#AUX_CFLAGS= -DSVR4
#AUX_LIBS= -lsocket -lnsl -lc
--- 104,112 ----
# For SCO OpenServer Release 5
# -K noinline is needed to work around an optimiser bug which appears in
# mod_bprintf.c
! #AUX_CFLAGS= -DSCO5
#AUX_LIBS=-lsocket -lmalloc -lprot
+ #BROKEN_BPRINTF_FLAGS=-K noinline
# For SVR4
#AUX_CFLAGS= -DSVR4
#AUX_LIBS= -lsocket -lnsl -lc
1.11 +4 -0 apache/src/Makefile.tmpl
Index: Makefile.tmpl
===================================================================
RCS file: /export/home/cvs/apache/src/Makefile.tmpl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C3 -r1.10 -r1.11
*** Makefile.tmpl 1996/05/27 21:08:27 1.10
--- Makefile.tmpl 1996/05/27 22:34:06 1.11
***************
*** 34,39 ****
--- 34,43 ----
tar cvf dist.tar README INSTALL CHANGES TODO API.html \
Configuration Configure Makefile.tmpl Makefile *.h *.c
+ # Work around broken compilers
+ http_bprintf.o:
+ $(CC) -c $(CFLAGS) $(AUX_CFLAGS) $(BROKEN_BPRINTF_FLAGS) $<
+
#Dependencies
#Core code
$(OBJS): Makefile httpd.h alloc.h buff.h conf.h