diff options
| author | Zurab Kvachadze <zurabid2016@gmail.com> | 2024-12-24 15:40:35 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-10-05 03:19:38 +0100 |
| commit | d84076775b998e2b3dbc0f2b3bf1bf55219fec81 (patch) | |
| tree | bfbc4b744f82881692408ea513875af7ecbd7b70 /dev-perl/Cache-Memcached-Fast/files | |
| parent | 36da0eaf2d157926d4472ad04522105505b8abc2 (diff) | |
| download | gentoo-d84076775b998e2b3dbc0f2b3bf1bf55219fec81.tar.gz gentoo-d84076775b998e2b3dbc0f2b3bf1bf55219fec81.tar.bz2 gentoo-d84076775b998e2b3dbc0f2b3bf1bf55219fec81.zip | |
dev-perl/Cache-Memcached-Fast: fix build failure with LTO
This removes now-unneeded patch that removes '-flto' from CFLAGS, but leaves the
job specifier as-is. As of now, Cache-Memcached-Fast builds just fine with LTO
enabled.
For instance, if '-flto=16' is present in CFLAGS, the patch would only remove
the '-flto', leaving '=16' as an argument to a compiler. '=16' not being a valid
option, results in a build failure.
Closes: https://bugs.gentoo.org/946880
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/39837
Closes: https://github.com/gentoo/gentoo/pull/39837
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/Cache-Memcached-Fast/files')
| -rw-r--r-- | dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.270.0-no-flto.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.270.0-no-flto.patch b/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.270.0-no-flto.patch deleted file mode 100644 index fa2aa7b8567b..000000000000 --- a/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.270.0-no-flto.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://github.com/JRaspass/Cache-Memcached-Fast/pull/11 - -From 4bba22fac564a0798022197476f63fb6b481129f Mon Sep 17 00:00:00 2001 -From: Kent Fredric <kentnl@gentoo.org> -Date: Tue, 3 Oct 2017 20:20:14 +1300 -Subject: [PATCH] Strip -flto from CFLAGS - --flto breaks compilation of static archives and needs significant magic -to not break, including sentience about which CC you're using. ---- - Makefile.PL | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/Makefile.PL b/Makefile.PL -index 0054164..ad249b9 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -24,6 +24,13 @@ - }, - ); - -+sub MY::cflags { -+ my $self = shift; -+ my $orig = $self->MM::cflags(@_); -+ $orig =~ s/-flto\b//g; -+ return $orig; -+} -+ - sub MY::postamble { <<'MAKE' } - $(MYEXTLIB): src/Makefile - cd src && $(MAKE) $(PASTHRU) |
