Commit b22a0f15 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Brad King
Browse files

bootstrap: improve ld flag for Linux/HPPA builds

Follow up commit ca63bb10 (bootstrap: try better workaround for builds
on Linux/HPPA, 2013-09-12) with an improved ld flag.

Suggested-by: Guy Martin
parent d5639044
......@@ -739,10 +739,7 @@ if ${cmake_system_linux}; then
# avoid binutils problem with large binaries, e.g. when building CMake in debug mode
# See
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.*"
cmake_ld_flags="${LDFLAGS} -Wl,--unique=.text._*"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment