Do not force -O2 optimisation any more

This commit is contained in:
adam 2004-10-06 09:19:00 +00:00
parent 4f1f49210b
commit e09b8ccec2
2 changed files with 24 additions and 1 deletions

View file

@ -1,4 +1,5 @@
$NetBSD: distinfo,v 1.2 2004/01/19 10:00:40 adam Exp $
$NetBSD: distinfo,v 1.3 2004/10/06 09:19:00 adam Exp $
SHA1 (iperf-1.7.0-source.tar.gz) = 6f8058616f2105f8342e3a39366a3362b0f85589
Size (iperf-1.7.0-source.tar.gz) = 182773 bytes
SHA1 (patch-aa) = 14848d63dab5e9d413f82046b87ad686251a9b94

View file

@ -0,0 +1,22 @@
$NetBSD: patch-aa,v 1.1 2004/10/06 09:19:00 adam Exp $
--- cfg/configure.orig 2003-03-31 20:25:20.000000000 +0000
+++ cfg/configure
@@ -1687,7 +1687,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test "$ac_cv_c_compiler_gnu" = yes ; then
- CFLAGS="$OLD_CFLAGS -Wall -O2"
+ CFLAGS="$OLD_CFLAGS -Wall"
else
if test `uname -s` = "HP-UX"; then
CFLAGS="$OLD_CFLAGS -Ae +O2"
@@ -1999,7 +1999,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test "$ac_cv_c_compiler_gnu" = yes ; then
- CXXFLAGS="$OLD_CXXFLAGS -Wall -O2"
+ CXXFLAGS="$OLD_CXXFLAGS -Wall"
else
if test `uname -s` = "HP-UX"; then
CXXFLAGS="$OLD_CXXFLAGS -Ae +O2"