summaryrefslogtreecommitdiff
path: root/dev-util/cmake/files/cmake-2.8.11.2-hppa-bootstrap.patch
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-02-26 06:22:40 +1100
committerMichael Palimaka <kensington@gentoo.org>2014-02-26 06:22:40 +1100
commit49f71dc215bb4d7337c826e7fbad8b1539e5ab81 (patch)
tree36d4d2a2ac00ef3d3141a0dd35df64610524b46e /dev-util/cmake/files/cmake-2.8.11.2-hppa-bootstrap.patch
parent0f1b15c95fa4d0fbe77c819166e39f52c9566275 (diff)
downloadkde-49f71dc215bb4d7337c826e7fbad8b1539e5ab81.tar.gz
kde-49f71dc215bb4d7337c826e7fbad8b1539e5ab81.tar.bz2
kde-49f71dc215bb4d7337c826e7fbad8b1539e5ab81.zip
[dev-util/cmake] Improve boost python patch to fix libboost_python detection outside of portage wrt bug #500442.
Package-Manager: portage-2.2.7
Diffstat (limited to 'dev-util/cmake/files/cmake-2.8.11.2-hppa-bootstrap.patch')
-rw-r--r--dev-util/cmake/files/cmake-2.8.11.2-hppa-bootstrap.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake-2.8.11.2-hppa-bootstrap.patch b/dev-util/cmake/files/cmake-2.8.11.2-hppa-bootstrap.patch
new file mode 100644
index 00000000000..9928e148882
--- /dev/null
+++ b/dev-util/cmake/files/cmake-2.8.11.2-hppa-bootstrap.patch
@@ -0,0 +1,20 @@
+--- a/CompileFlags.cmake
++++ b/CompileFlags.cmake
+@@ -66,5 +66,5 @@
+ # 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 ()
+--- a/bootstrap
++++ b/bootstrap
+@@ -691,7 +691,7 @@
+ # 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.*"
++ cmake_ld_flags="${LDFLAGS} -Wl,--unique=.text._*"
+ fi
+ fi
+