You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-strategy/wesnoth/files/wesnoth-1.14.14-ar.patch

15 lines
576 B

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)