commit:     a4f1ba8ad5afacccfd18512b4141dc3ebd7e3ab5
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Thu Feb 18 16:57:50 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Feb 18 23:04:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4f1ba8a

net-misc/apt-cacher-ng: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/19522
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../files/apt-cacher-ng-9999999-flags.patch            | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/net-misc/apt-cacher-ng/files/apt-cacher-ng-9999999-flags.patch 
b/net-misc/apt-cacher-ng/files/apt-cacher-ng-9999999-flags.patch
deleted file mode 100644
index 8fe769ada32..00000000000
--- a/net-misc/apt-cacher-ng/files/apt-cacher-ng-9999999-flags.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -114,15 +114,6 @@
- 
- if(CMAKE_BUILD_TYPE MATCHES Debug)
-    set(USE_LTO_DEFAULT off)
--else()
--   set(CMAKE_REQUIRED_FLAGS "-Wl,--gc-sections")
--   CHECK_CXX_COMPILER_FLAG("-Os -fdata-sections -ffunction-sections 
-Wl,--gc-sections" GC_SECTIONS)
--   if(GC_SECTIONS)
--           _append(ACNG_COMPFLAGS -fdata-sections -ffunction-sections)
--           _append(CMAKE_EXE_LINKER_FLAGS -Wl,--gc-sections)
--           _append(CMAKE_SHARED_LINKER_FLAGS -Wl,--gc-sections)
--   endif()
--   set(CMAKE_REQUIRED_FLAGS "")
- endif()
- 
- option(USE_LTO "Enable Link Time Optimization (requires modern compilers)" 
${USE_LTO_DEFAULT})

Reply via email to