Subject: | Do not redefine optimization level |
Current Makefile.PL hard-codes compiler optimization level. This is not good idea. Attached patch removes the definition.
Subject: | 0001-Do-not-redefine-optimization-level.patch |
From 4769ab64d7756c7bf73faa041a82462c577806d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 14 May 2013 13:57:39 +0200
Subject: [PATCH] Do not redefine optimization level
---
Makefile.PL | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index 3088376..5c5d26c 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -12,7 +12,6 @@ WriteMakefile(
(ABSTRACT_FROM => 'lib/Statistics/CaseResampling.pm', # retrieve abstract from module
AUTHOR => 'Steffen Mueller <smueller@cpan.org>') : ()),
LIBS => [''], # e.g., '-lm'
- DEFINE => '-O2', # e.g., '-DHAVE_SOMETHING'
INC => '-I.', # e.g., '-I. -I/usr/include/other'
OBJECT => '$(O_FILES)', # link all the C files too
);
--
1.8.1.4