mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 13:01:40 +00:00
[CMAKE]
Add -mstackrealign option for GCC 4.7+. Seems to fix some problems. svn path=/trunk/; revision=58432
This commit is contained in:
parent
3d64816d02
commit
09e3d1eace
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue