1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

limit -std=gnu99 to solaris gcc only, though it may be harmless in many cases

This commit is contained in:
Kenichi Ishigaki 2014-03-26 04:55:52 +09:00
parent d4f1f45a06
commit 73378dc5e4

View file

@ -308,7 +308,11 @@ WriteMakefile(
# 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 => $Config{optimize} . (($^O eq 'solaris' and !$Config{gccversion}) ? "" : " -O2 -std=gnu99"),
OPTIMIZE => $Config{optimize} . (
($^O eq 'solaris')
? (!$Config{gccversion} ? "" : " -O2 -std=gnu99")
: " -O2"
),
OPTIONAL( '6.48',
MIN_PERL_VERSION => '5.006',
),