mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user