]> git.sesse.net Git - vlc/blobdiff - extras/contrib/bootstrap
[maven-release-plugin] prepare for next development iteration
[vlc] / extras / contrib / bootstrap
index 1145476b8afd1ab34cf58c824d3d4a45a343db0b..cd68a6582fbe537f4691addec6f7992fb26e396a 100755 (executable)
@@ -80,6 +80,9 @@ case $HOST in
     *86*)
           ARCH="i386"
      ;;
+    arm*eabi)
+          ARCH="armel"
+     ;;
 esac
 echo "ARCH = $ARCH" >> config.mak
 
@@ -162,7 +165,7 @@ case $HOST in
             echo "ERROR:\nYour Developer Tools' SDKs were not found.\nYou need to add extra symbolic links to /Developer to achieve correctly\nbuilt contribs.\nHave a look at the OSX-Compile-HOWTO for details." >&2
             exit 1
         fi
-        if test $HOST="i686-apple-darwin10"; then
+        if test $HOST = "i686-apple-darwin10"; then
             echo "HAVE_DARWIN_10 = 1" >> config.mak
         fi
     ;;
@@ -192,7 +195,7 @@ case $HOST in
             echo "ERROR:\nYour Developer Tools' SDKs were not found.\nYou need to add extra symbolic links to /Developer to achieve correctly\nbuilt contribs.\nHave a look at the OSX-Compile-HOWTO for details." >&2
             exit 1
         fi
-        if test $HOST="x86_64-apple-darwin10"; then
+        if test $HOST = "x86_64-apple-darwin10"; then
             echo "HAVE_DARWIN_10 = 1" >> config.mak
         fi
     ;;
@@ -241,7 +244,8 @@ case $HOST in
             DISTRO=maemo
             echo 'HAVE_MAEMO = 1' >> config.mak
             EXTRA_CFLAGS=" -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a"
-            EXTRA_CFLAGS="$EXTRA_CFLAGS -mfpu=neon"
+            EXTRA_CFLAGS="$EXTRA_CFLAGS -mfpu=neon -mfloat-abi=softfp"
+            EXTRA_CFLAGS="$EXTRA_CFLAGS -O3 -fno-tree-vectorize"
         else
             EXTRA_CFLAGS="-msoft-float"
         fi