dreid 01/07/24 03:08:38
Modified: . configure.in
Log:
If we're using malloc_debug on beos remove the O2 flag or we'll be building
forever and a day and you better have huge amounts of ram. With this
we can just build as normal.
Revision Changes Path
1.343 +1 -0 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.342
retrieving revision 1.343
diff -u -r1.342 -r1.343
--- configure.in 2001/07/24 03:02:58 1.342
+++ configure.in 2001/07/24 10:08:38 1.343
@@ -160,6 +160,7 @@
if test "$host" = "i586-pc-beos"; then
AC_ARG_ENABLE(malloc-debug,[ --enable-malloc-debug Switch on
malloc_debug for BeOS],
+ APR_REMOVEFROM(CFLAGS, -O2)
APR_ADDTO(CPPFLAGS, -fcheck-memory-usage -D_KERNEL_MODE)
) dnl
fi