mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
Revert "Use --sysroot when cross compiling."
This reverts commit de4da665d3.
This feature is not yet ready for release. It needs to be
merged with the CMAKE_OSX_SYSROOT feature.
This commit is contained in:
@@ -30,7 +30,6 @@ macro(__compiler_gnu lang)
|
||||
endif()
|
||||
set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-fPIC")
|
||||
set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-shared")
|
||||
set(CMAKE_SYSROOT_FLAG "--sysroot=")
|
||||
|
||||
# Older versions of gcc (< 4.5) contain a bug causing them to report a missing
|
||||
# header file as a warning if depfiles are enabled, causing check_header_file
|
||||
|
||||
Reference in New Issue
Block a user