Do not override ccflags with just -Wall

master
Vitaliy Filippov 2015-03-24 13:35:37 +03:00
parent ad618c105b
commit e69bbd5ae2
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ my $sophia_src = $sophia;
`make -C $sophia_src libsophia.a`;
my $ccflags = $Config::Config{ccflags} || '';
WriteMakefile(
AUTHOR => 'Vitaliy Filippov <vitalif@mail.ru>',
ABSTRACT_FROM => 'Sophia.pm',
@ -40,7 +40,7 @@ WriteMakefile(
NAME => 'Database::Sophia',
LICENSE => 'perl',
LINKTYPE => 'dynamic',
CCFLAGS => '-Wall',
CCFLAGS => "-Wall $ccflags",
LIBS => ["-L$sophia_src -lsophia -lpthread"],
INC => '-I'. $sophia_src
);