From 5cb63b759e12c679b685c39a4db9de58d6498df1 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Wed, 19 Sep 2012 15:32:04 +0000 Subject: [PATCH] reverted the removal of the OPTIMIZE flag; not sure if this is worth the trouble --- Changes | 1 - Makefile.PL | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index ea2a014..926bf68 100644 --- a/Changes +++ b/Changes @@ -23,7 +23,6 @@ Changes for Perl extension DBD-SQLite scalars (VOVKASM) - Refactored primary_key_info to support attached databases (ISHIGAKI) - - Use the same optimization as perl (VOVKASM) 1.37 Thu 12 Jun 2012 - Updated to SQLite 3.7.12.1 (ISHIGAKI) diff --git a/Makefile.PL b/Makefile.PL index e9b1bd9..bd55289 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -293,6 +293,12 @@ WriteMakefile( 'Win32' => '0.30', ) : () ), }, + # XXX: VOVKASM suggested to remove this OPTIMIZE line to use + # the same optimization as perl itself. However, it turned out + # this change broke a test under some environment, and thus, may + # break other applications eventually. I'm not sure if this is + # worth the trouble. + OPTIMIZE => '-O2', OPTIONAL( '6.48', MIN_PERL_VERSION => '5.006', ),