dc721e65b1
Tested by pea@, Dawe, Remi Pointel, jasper@ and marco@, thanks!
17 lines
510 B
Plaintext
17 lines
510 B
Plaintext
$OpenBSD: patch-configure,v 1.2 2010/09/19 20:43:32 landry Exp $
|
|
Don't force the use of -O2, the ports infrastructure
|
|
takes care of that
|
|
--- configure.orig Fri Sep 3 21:30:50 2010
|
|
+++ configure Tue Sep 14 09:09:55 2010
|
|
@@ -19534,8 +19534,8 @@ fi
|
|
|
|
# Add the appropriate 'O' level for optimized builds
|
|
if test "$enable_optimizations" = "yes"; then
|
|
- CXXFLAGS="$CXXFLAGS -O2"
|
|
- CFLAGS="$CFLAGS -O2"
|
|
+ CXXFLAGS="$CXXFLAGS"
|
|
+ CFLAGS="$CFLAGS"
|
|
else
|
|
CXXFLAGS="$CXXFLAGS -O0"
|
|
CFLAGS="$CFLAGS -O0"
|