summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-09-03 15:11:45 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-03 20:30:33 (GMT)
commitc0f89e9c146ebb2cbb3c228f09c295875256d989 (patch)
tree447498edaedabfd9557bfb9c995df0ada38f7fac /Utilities
parentd17c58c8534ba68e527a79f33fad60c502ebdde1 (diff)
downloadCMake-c0f89e9c146ebb2cbb3c228f09c295875256d989.zip
CMake-c0f89e9c146ebb2cbb3c228f09c295875256d989.tar.gz
CMake-c0f89e9c146ebb2cbb3c228f09c295875256d989.tar.bz2
magrathea: Tell cmELF about DT_RUNPATH (#13497)
Our Linux release machine 'magrathea' has a very old Linux to help build portable binaries. It is so old that <elf.h> does not define the DT_RUNPATH constant. Define the correct value in the build flags to activate handling of ELF RUNPATH entries in the binary release.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Release/magrathea_release.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/Release/magrathea_release.cmake b/Utilities/Release/magrathea_release.cmake
index 1b2ae02..60c1a88 100644
--- a/Utilities/Release/magrathea_release.cmake
+++ b/Utilities/Release/magrathea_release.cmake
@@ -3,6 +3,8 @@ set(HOST magrathea)
set(MAKE_PROGRAM "make")
set(CC gcc332s)
set(CXX c++332s)
+set(CFLAGS -DDT_RUNPATH=29)
+set(CXXFLAGS -DDT_RUNPATH=29)
set(INITIAL_CACHE "
CMAKE_BUILD_TYPE:STRING=Release
CURSES_LIBRARY:FILEPATH=/usr/i686-gcc-332s/lib/libncurses.a