index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2023-05-22 20:18:50 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-05-22 20:18:50 +0200 |
commit | e74cde76c104df82b120a7b13964cb786da8f565 (patch) | |
tree | 39967e24037929c04aaf79922aa260b437a60a5e /community/spring | |
parent | 73e1d3b448cc583ab38cae4d61a26f313fad946b (diff) |
-rw-r--r-- | community/spring/PKGBUILD | 14 | ||||
-rw-r--r-- | community/spring/gold-linker.patch | 26 |
diff --git a/community/spring/PKGBUILD b/community/spring/PKGBUILD deleted file mode 100644 index 4759b375..00000000 --- a/community/spring/PKGBUILD +++ /dev/null @@ -1,14 +0,0 @@ -# https://springrts.com/mantis/view.php?id=5413 - -source+=('gold-linker.patch') -sha512sums+=('7d29099f589f4ab70262ebb307f905bdaa7e20606421ca2efaf69d391b271d3e1015f44087161106546ebe1ef197dc758c5de0120feff3f473e69ec96555d3a8') - -eval "$( - declare -f prepare | \ - sed ' - 2 a \ - cd spring_$pkgver \ - patch -Np1 -i ../gold-linker.patch \ - cd .. - ' -)" diff --git a/community/spring/gold-linker.patch b/community/spring/gold-linker.patch deleted file mode 100644 index aac5e7d9..00000000 --- a/community/spring/gold-linker.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/rts/build/cmake/TestCXXFlags.cmake 2017-09-24 20:01:29.000000000 +0200 -+++ b/rts/build/cmake/TestCXXFlags.cmake 2018-01-09 14:16:55.894197136 +0100 -@@ -161,23 +161,8 @@ - ERROR_VARIABLE linkerVersion - ) - set(hasGold FALSE) -- if ("${linkerVersion}" MATCHES "gold") -- set(hasGold TRUE) -- endif() - - -- if (NOT hasGold AND NOT WIN32) #FIND_PROGRAM fails in crosscompile environments (it detects the native ld.gold) -- # since gcc 4.8 it is possible to switch the linker via that argument -- CHECK_CXX_ACCEPTS_FLAG("-fuse-ld=gold" HAS_USE_LD) -- IF (HAS_USE_LD) -- FIND_PROGRAM(LD_GOLD ld.gold) -- if (LD_GOLD) -- set(hasGold TRUE) -- set(LDGOLD_CXX_FLAGS "-fuse-ld=gold") -- endif () -- EndIf () -- endif () -- - if (hasGold) - set(LDGOLD_FOUND TRUE) - set(LDGOLD_LINKER_FLAGS "") |