Commit 37738611 authored by Rafaël Carré's avatar Rafaël Carré

contribs : propose to build whole contribs with -DNDEBUG to disable

assertions in release builds
parent aba5ca0b
...@@ -289,3 +289,15 @@ if git help >/dev/null 2>&1; then ...@@ -289,3 +289,15 @@ if git help >/dev/null 2>&1; then
else else
echo "You do not have a Git client in your PATH." >&2 echo "You do not have a Git client in your PATH." >&2
fi 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment