diff options
author | Brad King <brad.king@kitware.com> | 2014-01-15 15:12:02 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-01-15 15:12:02 (GMT) |
commit | 4c7bac45ae1347ebea6709a7fdf59f50ff7bbb15 (patch) | |
tree | 6923c76badf07a319f9a1a72a61dccd614048222 | |
parent | 050c02849ef234fabb644a496f48ddd0b4646acb (diff) | |
parent | b22a0f15de36d7b69f136b75e091adca145e0251 (diff) | |
download | CMake-4c7bac45ae1347ebea6709a7fdf59f50ff7bbb15.zip CMake-4c7bac45ae1347ebea6709a7fdf59f50ff7bbb15.tar.gz CMake-4c7bac45ae1347ebea6709a7fdf59f50ff7bbb15.tar.bz2 |
Merge topic 'hppa-bootstrap'
b22a0f15 bootstrap: improve ld flag for Linux/HPPA builds
-rwxr-xr-x | bootstrap | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -739,10 +739,7 @@ if ${cmake_system_linux}; then # 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_machine_parisc}; then - # if -O[s23] is given the effect is inverted, so do not use the flag then - if [ "`echo "${CXXFLAGS}" | sed -r '/^(.* )?(-O[s234])( .*)?$/s/.*/-Os/'`" != "-Os" ]; then - cmake_ld_flags="${LDFLAGS} -Wl,--unique=.text.*" - fi + cmake_ld_flags="${LDFLAGS} -Wl,--unique=.text._*" fi fi |