[vlc-devel] commit: contribs : propose to build whole contribs with -DNDEBUG to disable ( Rafaël Carré )
git version control
git at videolan.org
Sun Apr 13 15:18:34 CEST 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Apr 13 15:14:58 2008 +0200| [377386110fba293f49cb87f3d3a4d52987822f3c]
contribs : propose to build whole contribs with -DNDEBUG to disable
assertions in release builds
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=377386110fba293f49cb87f3d3a4d52987822f3c
---
extras/contrib/bootstrap | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap
index 6ee517e..e9a6539 100755
--- a/extras/contrib/bootstrap
+++ b/extras/contrib/bootstrap
@@ -289,3 +289,15 @@ if git help >/dev/null 2>&1; then
else
echo "You do not have a Git client in your PATH." >&2
fi
+
+if test -z "$CONTRIBS_RELEASE"; then
+ set +x
+ echo
+ echo "***********************************************************"
+ echo "* If you are building contribs for a release build of VLC *"
+ echo "* Please run CONTRIBS_RELEASE=sexy ./bootstrap *"
+ echo "***********************************************************"
+else
+ echo "EXTRA_CFLAGS += -DNDEBUG" >> config.mak
+ echo "EXTRA_CPPFLAGS += -DNDEBUG" >> config.mak
+fi
More information about the vlc-devel
mailing list