Skip to content

Commit

Permalink
android: avoid SIGILL caused by agressive optimization flags.
Browse files Browse the repository at this point in the history
Samsung Galaxy Tab GT-P7300 8.9" Wi-Fi + 3G 16 GB

Signed-off-by: Oliver McFadden <omcfadde@gmail.com>
  • Loading branch information
omcfadde committed Aug 15, 2012
1 parent a1924b3 commit 5050f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/SConstruct
Expand Up @@ -324,7 +324,7 @@ elif ( BUILD == 'release' ):
# -fschedule-insns2: implicit at -O2
# no-unsafe-math-optimizations: that should be on by default really. hit some wonko bugs in physics code because of that
if ( g_os == 'Android' ):
OPTCPPFLAGS = [ '-O3', '-marm', '-march=armv7-a', '-mfloat-abi=softfp', '-mfpu=neon', '-ffast-math', '-fno-unsafe-math-optimizations', '-fomit-frame-pointer' ]
OPTCPPFLAGS = [ '-O3', '-marm', '-march=armv7-a', '-mfpu=neon', '-ffast-math', '-fno-unsafe-math-optimizations', '-fomit-frame-pointer' ]
else:
OPTCPPFLAGS = [ '-O3', '-march=pentium3', '-ffast-math', '-fno-unsafe-math-optimizations', '-fomit-frame-pointer' ]
if ( ID_MCHECK == '0' ):
Expand Down

0 comments on commit 5050f3c

Please sign in to comment.