all repos — mgba @ 1851e0da46a1c6b5d12c04a077719be0ae2a427a

mGBA Game Boy Advance Emulator

3DS: Turn on -ffast-math
Jeffrey Pfau jeffrey@endrift.com
Wed, 02 Sep 2015 22:50:48 -0700
commit

1851e0da46a1c6b5d12c04a077719be0ae2a427a

parent

b09175151249b3c407322170bf2a7c6f98fe7e0b

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/3ds/CMakeToolchain.txtsrc/platform/3ds/CMakeToolchain.txt

@@ -26,6 +26,7 @@ set(CMAKE_CXX_COMPILER ${cross_prefix}g++ CACHE INTERNAL "cxx compiler")

set(CMAKE_ASM_COMPILER ${cross_prefix}gcc CACHE INTERNAL "assembler") set(common_flags "${arch_flags} -mword-relocations ${inc_flags}") set(CMAKE_C_FLAGS ${common_flags} CACHE INTERNAL "c compiler flags") +set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -ffast-math" CACHE INTERNAL "c compiler flags (release)") set(CMAKE_ASM_FLAGS ${common_flags} CACHE INTERNAL "c compiler flags") set(CMAKE_CXX_FLAGS ${common_flags} CACHE INTERNAL "cxx compiler flags") set(CMAKE_LINKER ${cross_prefix}ld CACHE INTERNAL "linker")