From f3698ff453b990bde4849981d6c7a6d576f58a70 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 7 Jan 2018 14:44:37 +0100 Subject: community/spring: patch no longer needed --- community/spring/PKGBUILD | 10 ---------- community/spring/gold-linker.patch | 26 -------------------------- 2 files changed, 36 deletions(-) delete mode 100644 community/spring/PKGBUILD delete mode 100644 community/spring/gold-linker.patch (limited to 'community') diff --git a/community/spring/PKGBUILD b/community/spring/PKGBUILD deleted file mode 100644 index 8e94d0ef..00000000 --- a/community/spring/PKGBUILD +++ /dev/null @@ -1,10 +0,0 @@ -# see upstream: https://springrts.com/mantis/view.php?id=5413 - -md5sums[1]="59d186079e08ae9260fd31bf7129e7e7" - -prepare() { - cd spring_$pkgver - - # https://springrts.com/mantis/view.php?id=5413 - patch -Np1 -i ../gold-linker.patch -} diff --git a/community/spring/gold-linker.patch b/community/spring/gold-linker.patch deleted file mode 100644 index 8fa41071..00000000 --- a/community/spring/gold-linker.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/rts/build/cmake/TestCXXFlags.cmake 2017-09-29 15:10:51.499156806 +0200 -+++ b/rts/build/cmake/TestCXXFlags.cmake 2017-09-29 15:10:34.213501442 +0200 -@@ -162,22 +162,10 @@ - ) - set(hasGold FALSE) - if ("${linkerVersion}" MATCHES "gold") -- set(hasGold TRUE) -+ set(hasGold FALSE) - 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 "") -- cgit v1.2.3-70-g09d2