]> git.sesse.net Git - vlc/commitdiff
ios: don't compile with --enable-debug with -g only by default
authorFelix Paul Kühne <fkuehne@videolan.org>
Sat, 19 Jan 2013 17:44:02 +0000 (18:44 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 19 Jan 2013 17:46:36 +0000 (18:46 +0100)
extras/package/ios/build.sh

index 91fa785525d051e5ae032a4cffdd9b16abb56f68..1431e3c6b81b3efd74a964ecea765f52749e1bd4 100755 (executable)
@@ -74,10 +74,10 @@ info "Building libvlc for iOS"
 if [ "$PLATFORM" = "Simulator" ]; then
     TARGET="i686-apple-darwin11"
     ARCH="i386"
-    OPTIM="-O3"
+    OPTIM="-O3 -g"
 else
     TARGET="arm-apple-darwin11"
-    ARCH="armv7"
+    ARCH="armv7 -g"
 fi
 
 info "Using ${ARCH} with SDK version ${SDK_VERSION}"
@@ -238,7 +238,7 @@ CONTRIB_DIR=${VLCROOT}/contrib-ios-${TARGET} \
 ${VLCROOT}/configure \
     --prefix="${PREFIX}" \
     --host="${TARGET}" \
-    --enable-debug \
+    --disable-debug \
     --enable-static \
     --disable-macosx \
     --disable-macosx-vout \