summaryrefslogtreecommitdiff
path: root/games-strategy/wesnoth/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /games-strategy/wesnoth/files
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'games-strategy/wesnoth/files')
-rw-r--r--games-strategy/wesnoth/files/wesnoth-1.14.14-ar.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games-strategy/wesnoth/files/wesnoth-1.14.14-ar.patch b/games-strategy/wesnoth/files/wesnoth-1.14.14-ar.patch
new file mode 100644
index 000000000000..4a7c8cf41e72
--- /dev/null
+++ b/games-strategy/wesnoth/files/wesnoth-1.14.14-ar.patch
@@ -0,0 +1,14 @@
+Leave default AR as is, https://bugs.gentoo.org/732096
+
+diff -r 419bf3de54e5 CMakeLists.txt
+--- a/CMakeLists.txt Sat Oct 24 19:50:25 2020 +0000
++++ b/CMakeLists.txt Sat Oct 24 19:50:53 2020 +0000
+@@ -390,8 +390,6 @@
+ MESSAGE("Using ar, ranlib, and default linker")
+ find_program(NON_LTO_AR NAMES ar)
+ find_program(NON_LTO_RANLIB NAMES ranlib)
+- set(CMAKE_AR "${NON_LTO_AR}" CACHE STRING "Does not support LTO" FORCE)
+- set(CMAKE_RANLIB "${NON_LTO_RANLIB}" CACHE STRING "Does not support LTO" FORCE)
+ endif()
+ MARK_AS_ADVANCED(LTO_AR LTO_RANLIB NON_LTO_AR NON_LTO_RANLIB)
+