summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Acme-Damn/files/Acme-Damn-0.08-respect-cflags.patch')
-rw-r--r--dev-perl/Acme-Damn/files/Acme-Damn-0.08-respect-cflags.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-perl/Acme-Damn/files/Acme-Damn-0.08-respect-cflags.patch b/dev-perl/Acme-Damn/files/Acme-Damn-0.08-respect-cflags.patch
new file mode 100644
index 000000000000..96f0c5d89c9d
--- /dev/null
+++ b/dev-perl/Acme-Damn/files/Acme-Damn-0.08-respect-cflags.patch
@@ -0,0 +1,24 @@
+From eaab413d6a3fc448e70c96ff808e48d61c55356f Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Tue, 6 Dec 2016 05:15:12 +1300
+Subject: [PATCH] Enable CFLAGS optimizations
+
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index a26cf1c..4407861 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -27,6 +27,7 @@ WriteMakefile1(
+ },
+ 'LIBS' => [''] ,
+ 'DEFINE' => '' ,
++ 'OPTIMIZE' => '$(CFLAGS)' ,
+ 'INC' => '-I.'
+ );
+
+--
+2.11.0.rc2
+