From 9d2d89e65c71fb05b40307403cfd5bd66fabb9aa Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 13 Sep 2015 07:43:47 +0000 Subject: [PATCH] --- contrib/mobile/utils/Android.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/mobile/utils/Android.cmake b/contrib/mobile/utils/Android.cmake index 9677277209..543f224302 100644 --- a/contrib/mobile/utils/Android.cmake +++ b/contrib/mobile/utils/Android.cmake @@ -813,8 +813,8 @@ if( ARMEABI OR ARMEABI_V7A ) # It is recommended to use the -mthumb compiler flag to force the generation # of 16-bit Thumb-1 instructions (the default being 32-bit ARM ones). # O3 instead of O2/Os in release mode - like cmake sets for desktop gcc - set( _CMAKE_CXX_FLAGS_RELEASE "-mthumb -O2 -g" ) - set( _CMAKE_C_FLAGS_RELEASE "-mthumb -O2 -g" ) + set( _CMAKE_CXX_FLAGS_RELEASE "-mthumb -O2" ) # -g + set( _CMAKE_C_FLAGS_RELEASE "-mthumb -O2" ) # -g set( _CMAKE_CXX_FLAGS_DEBUG "-marm -Os -finline-limit=64" ) set( _CMAKE_C_FLAGS_DEBUG "-marm -Os -finline-limit=64" ) else() -- GitLab