[vlc-commits] package/win32: build.sh: enable debug/disable optimization in debug builds

Steve Lhomme git at videolan.org
Fri Oct 25 10:04:33 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Oct 24 14:57:14 2019 +0200| [ca63da92c564a1e2dd975b4217de83d33892f83d] | committer: Steve Lhomme

package/win32: build.sh: enable debug/disable optimization in debug builds

the --disable-optim flag is used for both. Debug builds should have debug so
should enable this option (until/if we split the option to enable/disable debug
and enable/disable optimization).

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

 extras/package/win32/build.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh
index 6bfba56f5c..dd8f8a82ba 100755
--- a/extras/package/win32/build.sh
+++ b/extras/package/win32/build.sh
@@ -139,6 +139,9 @@ fi
 if [ ! -z "$BREAKPAD" ]; then
      CONTRIBFLAGS="$CONTRIBFLAGS --enable-breakpad"
 fi
+if [ "$RELEASE" != "yes" ]; then
+     CONTRIBFLAGS="$CONTRIBFLAGS --disable-optim"
+fi
 ../bootstrap --host=$TRIPLET $CONTRIBFLAGS
 
 # Rebuild the contribs or use the prebuilt ones



More information about the vlc-commits mailing list