Bladeren bron

MobileVLCKit: rework debug compilation flags

Felix Paul Kühne 7 jaren geleden
bovenliggende
commit
ee91a958ce
1 gewijzigde bestanden met toevoegingen van 1 en 3 verwijderingen
  1. 1 3
      buildMobileVLCKit.sh

+ 1 - 3
buildMobileVLCKit.sh

@@ -240,7 +240,7 @@ buildLibVLC() {
     if [ "$DEBUG" = "yes" ]; then
         OPTIM="-O0 -g"
     else
-        OPTIM="-O3 -g"
+        OPTIM="-O3"
     fi
 
     if [ "$TVOS" = "yes" ]; then
@@ -428,8 +428,6 @@ buildLibVLC() {
 
     if [ "$DEBUG" = "yes" ]; then
         DEBUGFLAG="--enable-debug"
-    else
-        DEBUGFLAG="--disable-debug"
     fi
 
     if [ "$SCARY" = "yes" ]; then