From fa23218375ac7f513ca7d9fe52dc6c23e6940a88 Mon Sep 17 00:00:00 2001 From: mycroft Date: Tue, 24 Nov 1998 16:32:06 +0000 Subject: Use -O2, not -O6. --- audio/nspmod/patches/patch-ba | 6 +++--- mbone/vic/patches/patch-aa | 26 ++++++-------------------- 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/audio/nspmod/patches/patch-ba b/audio/nspmod/patches/patch-ba index d62598af0f1..4d65abe7267 100644 --- a/audio/nspmod/patches/patch-ba +++ b/audio/nspmod/patches/patch-ba @@ -1,4 +1,4 @@ -$NetBSD: patch-ba,v 1.3 1998/11/24 07:35:18 hubertf Exp $ +$NetBSD: patch-ba,v 1.4 1998/11/24 16:32:06 mycroft Exp $ *** Makefile.orig Sun Sep 17 09:18:20 1995 --- Makefile Fri Mar 6 05:56:27 1998 @@ -39,8 +39,8 @@ $NetBSD: patch-ba,v 1.3 1998/11/24 07:35:18 hubertf Exp $ + CFLAGS_OS = -Wall + CFLAGS_OS += -DDAC_DEV=\"/dev/audio\" + CFLAGS_OS += -pedantic -+ CFLAGS_OPT = -O6 -+ CFLAGS_HIOPT = -O6 -funroll-loops ++ CFLAGS_OPT = -O2 ++ CFLAGS_HIOPT = -O2 -funroll-loops + LDFLAGS_OS = + LIBS_OS = + DACIO_ARCH = dacio-netbsd.c diff --git a/mbone/vic/patches/patch-aa b/mbone/vic/patches/patch-aa index 74cff9a809b..40c68298652 100644 --- a/mbone/vic/patches/patch-aa +++ b/mbone/vic/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.4 1998/11/24 07:56:07 hubertf Exp $ +$NetBSD: patch-aa,v 1.5 1998/11/24 16:32:06 mycroft Exp $ --- configure.orig Mon Jun 24 02:59:45 1996 +++ configure Tue Nov 24 08:38:21 1998 @@ -224,9 +224,9 @@ $NetBSD: patch-aa,v 1.4 1998/11/24 07:56:07 hubertf Exp $ + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + elif test $ac_cv_prog_cc_g = yes; then -+ CFLAGS="-g -O6" ++ CFLAGS="-g -O2" + else -+ CFLAGS="-O6" ++ CFLAGS="-O2" fi else GCC= @@ -346,9 +346,9 @@ $NetBSD: patch-aa,v 1.4 1998/11/24 07:56:07 hubertf Exp $ + if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS="$ac_save_CXXFLAGS" + elif test $ac_cv_prog_cxx_g = yes; then -+ CXXFLAGS="-g -O6" ++ CXXFLAGS="-g -O2" + else -+ CXXFLAGS="-O6" ++ CXXFLAGS="-O2" fi else GXX= @@ -704,15 +704,6 @@ $NetBSD: patch-aa,v 1.4 1998/11/24 07:56:07 hubertf Exp $ rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi -@@ -1223,7 +1328,7 @@ - enableval="$enable_debug" - V_CCOPT="-g" - else -- V_CCOPT="-O2" -+ V_CCOPT="-O6" - fi - - @@ -1304,18 +1409,20 @@ echo "checking for X11 header files" if test "$x_includes" = NONE ; then @@ -1144,12 +1135,7 @@ $NetBSD: patch-aa,v 1.4 1998/11/24 07:56:07 hubertf Exp $ /usr/local/lib/tk \ /usr/lib/tk \ /usr/lib/tk/tk \ -@@ -2067,12 +2196,17 @@ - # the following line should be deleted. - V_SHM="" - V_TARCMD="tar cfL" -- V_CCOPT="-O2 -m486" -+ V_CCOPT="-O6 -m486" +@@ -2071,8 +2200,13 @@ V_LIB="$V_LIB -lipc" ;; *-*-netbsd*) -- cgit v1.2.3