27 lines
862 B
Plaintext
27 lines
862 B
Plaintext
$OpenBSD: patch-configure_ac,v 1.3 2010/10/13 11:35:53 jasper Exp $
|
|
|
|
- disable -Wall and -Werror, this breaks astarsearch.cpp.
|
|
|
|
--- configure.ac.orig Wed Oct 13 11:14:03 2010
|
|
+++ configure.ac Wed Oct 13 11:14:59 2010
|
|
@@ -95,8 +95,8 @@ then
|
|
CXXFLAGS="-O0 -DDEBUG -ggdb3 -W -Wall -ansi $CXXFLAGS"
|
|
else
|
|
# Don't use ansi for CFLAGS since it fails to compile.
|
|
- CFLAGS="-O2 -W -Wall $CFLAGS"
|
|
- CXXFLAGS="-O2 -W -Wall -ansi $CXXFLAGS"
|
|
+ CFLAGS=" -W $CFLAGS"
|
|
+ CXXFLAGS=" -W -ansi $CXXFLAGS"
|
|
fi
|
|
|
|
if test "x$profile" = "xyes"
|
|
@@ -111,7 +111,7 @@ then
|
|
# CFLAGS="-Werror -Wno-unused -Wno-sign-compare $CFLAGS"
|
|
|
|
# The current networking code breaks strict aliasing in g++ 4.5.
|
|
- CXXFLAGS="-Werror -Wno-unused-parameter -Wno-strict-aliasing $CXXFLAGS"
|
|
+ CXXFLAGS=" -Wno-unused-parameter -Wno-strict-aliasing $CXXFLAGS"
|
|
fi
|
|
|
|
# Make tests default in svn version
|