[Android] We now use C++ exceptions in VLC code

Rafaël Carré git at videolan.org
Wed May 8 13:58:36 CEST 2013


vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Wed May  8 13:58:15 2013 +0200| [3220761808de7693d4540753b622bb3273cd4be1] | committer: Rafaël Carré

We now use C++ exceptions in VLC code

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=3220761808de7693d4540753b622bb3273cd4be1
---

 compile.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compile.sh b/compile.sh
index 80c180d..3a818ff 100755
--- a/compile.sh
+++ b/compile.sh
@@ -123,7 +123,7 @@ elif [ ${ANDROID_ABI} = "armeabi" ] ; then
         fi
     fi
 elif [ ${ANDROID_ABI} = "x86" ] ; then
-    EXTRA_CFLAGS="-march=pentium -ffunction-sections -funwind-tables -frtti -fno-exceptions"
+    EXTRA_CFLAGS="-march=pentium -ffunction-sections -funwind-tables -frtti -fexceptions"
 elif [ ${ANDROID_ABI} = "mips" ] ; then
     EXTRA_CFLAGS="-march=mips32 -mtune=mips32r2 -mhard-float"
     # All MIPS Linux kernels since 2.4.4 will trap any unimplemented FPU



More information about the Android mailing list