[sword-svn] r1968 - trunk
dglassey at www.crosswire.org
dglassey at www.crosswire.org
Sat Sep 2 13:28:11 MST 2006
Author: dglassey
Date: 2006-09-02 13:28:06 -0700 (Sat, 02 Sep 2006)
New Revision: 1968
Modified:
trunk/configure.ac
Log:
don't let autotools set CFLAGS, CXXFLAGS
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2006-09-01 02:52:17 UTC (rev 1967)
+++ trunk/configure.ac 2006-09-02 20:28:06 UTC (rev 1968)
@@ -19,6 +19,8 @@
# ---------------------------------------------------------------------
# Check Programs
# ---------------------------------------------------------------------
+CFLAGS=" $CFLAGS"
+CXXFLAGS=" $CXXFLAGS"
AC_LANG(C++)
AC_PROG_CC
AC_PROG_CXX
@@ -154,8 +156,8 @@
AM_CXXFLAGS="-O0"
fi
else
- AM_CFLAGS="-O3"
- AM_CXXFLAGS="-O3"
+ AM_CFLAGS="-O2"
+ AM_CXXFLAGS="-O2"
# AM_CFLAGS="$AM_CFLAGS -Werror"
# AM_CXXFLAGS="$AM_CXXFLAGS -Werror"
fi
More information about the sword-cvs
mailing list