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

30 lines
1.0 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.2 2001/06/30 13:18:09 naddy Exp $
--- configure.orig Mon Jun 18 18:12:43 2001
+++ configure Sat Jun 30 13:42:24 2001
@@ -1620,9 +1620,9 @@ if test -z "$GCC"; then
CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
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
@@ -1712,9 +1712,9 @@ rm -f conftest*
CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
*)
- DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
- PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
+ DEBUG="$CFLAGS -g -Wall -fsigned-char"
+ CFLAGS="$CFLAGS -fsigned-char"
+ PROFILE="$CFLAGS -g -pg -fsigned-char" ;;
esac
fi
CFLAGS="$CFLAGS $cflags_save"