]> git.sesse.net Git - vlc/commitdiff
contribs : propose to build whole contribs with -DNDEBUG to disable
authorRafaël Carré <funman@videolan.org>
Sun, 13 Apr 2008 13:14:58 +0000 (15:14 +0200)
committerRafaël Carré <funman@videolan.org>
Sun, 13 Apr 2008 13:14:58 +0000 (15:14 +0200)
assertions in release builds

extras/contrib/bootstrap

index 6ee517ecb19a1b4c68a3929918bc67ee2e5be860..e9a6539393e0cf655efb0c7e1c7dc7d4b5ff1219 100755 (executable)
@@ -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