Enabled LTO for OSX (#13266)
This commit is contained in:
parent
227f9ae5af
commit
c83ad806d9
@ -7,7 +7,7 @@ include(target_flags)
|
|||||||
|
|
||||||
# FIXME: there are compiler failures with LTO and Cross-Compile toolchains. Disabling for now, but
|
# FIXME: there are compiler failures with LTO and Cross-Compile toolchains. Disabling for now, but
|
||||||
# this must be addressed in a proper way
|
# this must be addressed in a proper way
|
||||||
ie_dependent_option (ENABLE_LTO "Enable Link Time Optimization" OFF "LINUX;NOT CMAKE_CROSSCOMPILING;CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.9" OFF)
|
ie_dependent_option (ENABLE_LTO "Enable Link Time Optimization" OFF "LINUX OR (APPLE AND AARCH64);NOT CMAKE_CROSSCOMPILING;CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.9" OFF)
|
||||||
|
|
||||||
ie_option (OS_FOLDER "create OS dedicated folder in output" OFF)
|
ie_option (OS_FOLDER "create OS dedicated folder in output" OFF)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user