Updated compiler settings for FPU multiplatform

This commit is contained in:
Mark Vejvoda
2010-04-25 08:03:04 +00:00
parent b69a6fe6ce
commit 55bdbf3dba

View File

@@ -22,12 +22,12 @@ if $(USE_STLPORT_DEBUG)
# if using streflop then add some special compiler defines # if using streflop then add some special compiler defines
if $(USE_STREFLOP) if $(USE_STREFLOP)
{ {
CPPFLAGS += -mfpmath=sse -msse ; CPPFLAGS += -mfpmath=sse -msse -fsingle-precision-constant -frounding-math -pipe -fno-strict-aliasing -fsignaling-nans -mieee-fp ;
} }
COMPILER_CFLAGS += -Wall -W -Wno-unused -Wno-sign-compare ; COMPILER_CFLAGS += -Wall -W -Wno-unused -Wno-sign-compare ;
COMPILER_CFLAGS_optimize += -O3 -DNDEBUG ; COMPILER_CFLAGS_optimize += -O3 -DNDEBUG ;
COMPILER_CXXFLAGS_optimize += -O3 -DNDEBUG ; COMPILER_CXXFLAGS_optimize += -O -DNDEBUG ;
COMPILER_LIBS_optimize += ; COMPILER_LIBS_optimize += ;
COMPILER_CFLAGS_debug += -DDEBUG -g3 ; COMPILER_CFLAGS_debug += -DDEBUG -g3 ;
COMPILER_CXXFLAGS_debug += -DDEBUG -g3 ; COMPILER_CXXFLAGS_debug += -DDEBUG -g3 ;