summaryrefslogtreecommitdiff
blob: 9928e148882f86283eda65abdccafe059ec65fd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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