Subject: | overrides optimisation level badly |
Date: | Wed, 26 Mar 2014 13:01:50 +0000 |
To: | bug-DBD-SQLite [...] rt.cpan.org |
From: | Zefram <zefram [...] fysh.org> |
DBD-SQLite has some logic in Makefile.PL that attempts to override the
configured C compilation optimisation flags. It does it badly, not
entirely successfully, but in any case impedes the purpose of that Perl
configuration option. I think it shouldn't be overriding this at all.
If it is indeed necessary on some platform, then a much more narrowly
tailored override should be implemented instead.
I wouldn't be terribly surprised at some compiler needing to have the
optimisation dialled down a bit on sqlite3.c, merely because of its
abnormal size. If that's the cause, another option would be to split
it up.
-zefram