/[gentoo-x86]/dev-util/cmake/files/cmake-2.8.11.2-hppa-bootstrap.patch
Gentoo

Contents of /dev-util/cmake/files/cmake-2.8.11.2-hppa-bootstrap.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jan 15 15:54:22 2014 UTC (11 months ago) by jer
Branch: MAIN
Changes since 1.1: +13 -28 lines
Fix HPPA bootstrap/linker patch to properly handle C++ code by Guy Martin.

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 --- a/CompileFlags.cmake
2 +++ b/CompileFlags.cmake
3 @@ -66,5 +66,5 @@
4 # avoid binutils problem with large binaries, e.g. when building CMake in debug mode
5 # See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50230
6 if (CMAKE_SYSTEM_NAME STREQUAL Linux AND CMAKE_SYSTEM_PROCESSOR STREQUAL parisc)
7 - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--unique=.text.*")
8 + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--unique=.text._*")
9 endif ()
10 --- a/bootstrap
11 +++ b/bootstrap
12 @@ -691,7 +691,7 @@
13 # avoid binutils problem with large binaries, e.g. when building CMake in debug mode
14 # See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50230
15 if ${cmake_machine_parisc}; then
16 - cmake_ld_flags="${LDFLAGS} -Wl,--unique=.text.*"
17 + cmake_ld_flags="${LDFLAGS} -Wl,--unique=.text._*"
18 fi
19 fi
20

  ViewVC Help
Powered by ViewVC 1.1.20