openbsd-ports/audio/libao/patches/patch-configure
naddy e4273f8e4f * maintenance update to 0.8.8
* don't build nonsensical static modules
2007-07-12 21:10:15 +00:00

26 lines
1016 B
Plaintext

$OpenBSD: patch-configure,v 1.9 2007/07/12 21:10:15 naddy Exp $
--- configure.orig Thu May 24 12:51:52 2007
+++ configure Wed Jul 11 21:58:16 2007
@@ -20076,7 +20076,7 @@ if test -z "$GCC"; then
*)
PLUGIN_LDFLAGS="-export-dynamic -avoid-version"
DEBUG="-g"
- CFLAGS="-O"
+ CFLAGS=""
PROFILE="-g -p" ;;
esac
else
@@ -20099,9 +20099,9 @@ else
PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore" ;;
*)
PLUGIN_LDFLAGS="-export-dynamic -avoid-version"
- 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="-g -Wall -fsigned-char"
+ CFLAGS="-fsigned-char"
+ PROFILE="-g -pg -fsigned-char" ;;
esac
fi
CFLAGS="$CFLAGS $cflags_save"