openbsd-ports/audio/libogg/patches/patch-configure

30 lines
969 B
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.1.1.1 2001/03/14 01:55:47 todd Exp $
--- configure.orig Mon Mar 12 23:13:33 2001
+++ configure Mon Mar 12 23:14:20 2001
@@ -1489,9 +1489,9 @@ if test -z "$GCC"; then
PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc"
;;
*)
- DEBUG="-g"
- CFLAGS="-O"
- PROFILE="-g -p"
+ DEBUG="$CFLAGS -g"
+ CFLAGS="$CFLAGS"
+ PROFILE="$CFLAGS -g -p"
;;
esac
else
@@ -1512,9 +1512,9 @@ else
PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math"
;;
*)
- DEBUG="-g -Wall -fsigned-char"
- CFLAGS="-O20 -fsigned-char"
- PROFILE="-O20 -g -pg -fsigned-char"
+ DEBUG="$CFLAGS -g -Wall -fsigned-char"
+ CFLAGS="$CFLAGS -fsigned-char"
+ PROFILE="$CFLAGS -g -pg -fsigned-char"
;;
esac
fi