2001-06-30 09:18:06 -04:00
|
|
|
$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
|
2001-03-13 20:57:10 -05:00
|
|
|
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
|
|
|
|
|
2001-06-30 09:18:06 -04:00
|
|
|
@@ -1712,9 +1712,9 @@ rm -f conftest*
|
2001-03-13 20:57:10 -05:00
|
|
|
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
|
2001-06-30 09:18:06 -04:00
|
|
|
CFLAGS="$CFLAGS $cflags_save"
|