Subject: | Do not override OPTIMIZE by default |
Makefile.PL set OPTIMIZE value. This undermines an aim to have all modules built in a uniform manner. I recommend to set OPTIMIZE only in the author mode.
Subject: | 0001-Do-not-override-OPTIMIZE-by-default.patch |
From d8ebfe1122f5e3018742b1d2d32211be90594a3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Fri, 11 Nov 2016 13:49:24 +0100
Subject: [PATCH] Do not override OPTIMIZE by default
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr PÃsaÅ <ppisar@redhat.com>
---
Makefile.PL | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index fbab6fd..45ccc69 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -17,8 +17,8 @@ WriteMakefile(
INC => '-I.',
$AUTHOR ? (
CCFLAGS => '-Wunused -std=c99', # only author mode
+ OPTIMIZE => '-g',
) : (),
- OPTIMIZE => '-g',
OBJECT => 'Fast.o xmlfast.o', # link all the C files too
META_ADD => { license => 'perl' },
);
--
2.7.4