Commit 77cd6612 authored by David's avatar David
Browse files

macOS build.sh: Move debug flags into env.build.sh

Those are also usually wanted by developement builds.
parent ee8920f9
......@@ -173,11 +173,6 @@ spopd
vlcUnsetContribEnvironment
# Enable debug symbols by default
export CFLAGS="-g"
export CXXFLAGS="-g"
export OBJCFLAGS="-g"
#
# vlc/bootstrap
#
......
......@@ -108,7 +108,7 @@ vlcSetContribEnvironment() {
}
vlcUnsetContribEnvironment() {
echo "Unsetting contrib environment"
echo "Unsetting contrib flags, prepare VLC flags"
unset CFLAGS
unset CXXFLAGS
......@@ -117,6 +117,11 @@ vlcUnsetContribEnvironment() {
unset EXTRA_CFLAGS
unset EXTRA_LDFLAGS
unset XCODE_FLAGS
# Enable debug symbols by default
export CFLAGS="-g"
export CXXFLAGS="-g"
export OBJCFLAGS="-g"
}
......
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