Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brad King
CMake
Commits
951a158c
Commit
951a158c
authored
Sep 25, 2013
by
Brad King
Committed by
Kitware Robot
Sep 25, 2013
Browse files
Merge topic 'hppa-bootstrap'
ca63bb10
bootstrap: try better workaround for builds on Linux/HPPA
parents
5f8eefa3
ca63bb10
Changes
1
Hide whitespace changes
Inline
Side-by-side
bootstrap
View file @
951a158c
...
...
@@ -692,7 +692,10 @@ 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
cmake_ld_flags
=
"
${
LDFLAGS
}
-Wl,--unique=.text.*"
# 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
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment