Add -mstackrealign option for GCC 4.7+. Seems to fix some problems.

svn path=/trunk/; revision=58432
This commit is contained in:
Timo Kreuzer 2013-03-05 08:25:22 +00:00
parent 3d64816d02
commit 09e3d1eace

View file

@ -11,6 +11,9 @@ endif()
# Compiler Core
add_compile_flags("-pipe -fms-extensions -fno-strict-aliasing")
if(GCC_VERSION VERSION_GREATER 4.7)
add_compile_flags("-mstackrealign")
endif()
#bug
#file(TO_NATIVE_PATH ${REACTOS_SOURCE_DIR} REACTOS_SOURCE_DIR_NATIVE)