mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 05:13:59 +02:00
Updated compiler settings for FPU multiplatform
This commit is contained in:
@@ -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 ;
|
||||||
|
Reference in New Issue
Block a user