Merge topic 'hppa-binutils-flag'

8f2c2ccb Improve ld flags for CMake itself on Linux/HPPA
This commit is contained in:
Brad King 2014-01-17 09:24:59 -05:00 committed by CMake Topic Stage
commit 5348338c2d
1 changed files with 1 additions and 1 deletions

View File

@ -66,5 +66,5 @@ endif ()
# avoid binutils problem with large binaries, e.g. when building CMake in debug mode
# See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50230
if (CMAKE_SYSTEM_NAME STREQUAL Linux AND CMAKE_SYSTEM_PROCESSOR STREQUAL parisc)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--unique=.text.*")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--unique=.text._*")
endif ()