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:
parent
d4f1f45a06
commit
73378dc5e4
1 changed files with 5 additions and 1 deletions
|
@ -308,7 +308,11 @@ WriteMakefile(
|
||||||
# this change broke a test under some environment, and thus, may
|
# this change broke a test under some environment, and thus, may
|
||||||
# break other applications eventually. I'm not sure if this is
|
# break other applications eventually. I'm not sure if this is
|
||||||
# worth the trouble.
|
# 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',
|
OPTIONAL( '6.48',
|
||||||
MIN_PERL_VERSION => '5.006',
|
MIN_PERL_VERSION => '5.006',
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Reference in a new issue