summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-15 13:33:56 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-07-15 13:33:56 (GMT)
commit7fa77b3fb3d811f2661f19e0985c6eb2c8021468 (patch)
tree8e08157cbf304a19245d0bd2f8392b5a2d38c4c1 /Modules
parent0e294b6fa75e022083467ce9b2a0a1ffea5575a7 (diff)
parent0416c94f6415101e93e9dc3f83d666926ee2da16 (diff)
downloadCMake-7fa77b3fb3d811f2661f19e0985c6eb2c8021468.zip
CMake-7fa77b3fb3d811f2661f19e0985c6eb2c8021468.tar.gz
CMake-7fa77b3fb3d811f2661f19e0985c6eb2c8021468.tar.bz2
Merge topic 'revert-CMAKE_SYSROOT'
0416c94 Revert "Use --sysroot when cross compiling."
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/GNU.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/Compiler/GNU.cmake b/Modules/Compiler/GNU.cmake
index e5e10c3..504704d 100644
--- a/Modules/Compiler/GNU.cmake
+++ b/Modules/Compiler/GNU.cmake
@@ -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