[vlc-commits] macOS build.sh: Enable debug symbols by default for VLC build

David Fuhrmann git at videolan.org
Mon Sep 4 20:47:33 CEST 2017


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Mon Sep  4 20:45:42 2017 +0200| [f61861a46d84c1e72f7383ea15001d25a55b7d97] | committer: David Fuhrmann

macOS build.sh: Enable debug symbols by default for VLC build

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f61861a46d84c1e72f7383ea15001d25a55b7d97
---

 extras/package/macosx/build.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/extras/package/macosx/build.sh b/extras/package/macosx/build.sh
index 1e49c917e6..3e39129c8d 100755
--- a/extras/package/macosx/build.sh
+++ b/extras/package/macosx/build.sh
@@ -195,6 +195,10 @@ unset CFLAGS
 unset CXXFLAGS
 unset OBJCFLAGS
 
+# Enable debug symbols by default
+export CFLAGS="-g"
+export CXXFLAGS="-g"
+export OBJCFLAGS="-g"
 
 #
 # vlc/bootstrap



More information about the vlc-commits mailing list