summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFindBinUtils.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-01-16 00:56:42 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2008-01-16 00:56:42 (GMT)
commit8e5e423f78f665d5789679063f0a6cc560da1bd5 (patch)
treef72b5e945a89d090b665537762e38bdd86886831 /Modules/CMakeFindBinUtils.cmake
parent4a426d471896649cab122a1226b6240d4eeb71f1 (diff)
downloadCMake-8e5e423f78f665d5789679063f0a6cc560da1bd5.zip
CMake-8e5e423f78f665d5789679063f0a6cc560da1bd5.tar.gz
CMake-8e5e423f78f665d5789679063f0a6cc560da1bd5.tar.bz2
STYLE: fix infinished comment
Alex
Diffstat (limited to 'Modules/CMakeFindBinUtils.cmake')
-rw-r--r--Modules/CMakeFindBinUtils.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CMakeFindBinUtils.cmake b/Modules/CMakeFindBinUtils.cmake
index 851fed9..16750e3 100644
--- a/Modules/CMakeFindBinUtils.cmake
+++ b/Modules/CMakeFindBinUtils.cmake
@@ -76,7 +76,8 @@ IF(APPLE)
ENDIF(APPLE)
# if we are on an ELF system, search for chrpath
-# according to
+# according to the binutils mailing list chrpath has problems when cross compiling
+# i.e. if the target has different endianness than the host
IF("${CMAKE_EXECUTABLE_FORMAT}" STREQUAL "ELF" AND NOT CMAKE_CROSSCOMPILING)
# on ELF platforms there might be chrpath, which works similar to install_name_tool
OPTION(CMAKE_USE_CHRPATH "Enable this to use chrpath if available" OFF)