mirror of https://github.com/vitalif/sophia-perl
Do not override ccflags with just -Wall
parent
ad618c105b
commit
e69bbd5ae2
|
@ -32,7 +32,7 @@ my $sophia_src = $sophia;
|
||||||
|
|
||||||
`make -C $sophia_src libsophia.a`;
|
`make -C $sophia_src libsophia.a`;
|
||||||
|
|
||||||
|
my $ccflags = $Config::Config{ccflags} || '';
|
||||||
WriteMakefile(
|
WriteMakefile(
|
||||||
AUTHOR => 'Vitaliy Filippov <vitalif@mail.ru>',
|
AUTHOR => 'Vitaliy Filippov <vitalif@mail.ru>',
|
||||||
ABSTRACT_FROM => 'Sophia.pm',
|
ABSTRACT_FROM => 'Sophia.pm',
|
||||||
|
@ -40,7 +40,7 @@ WriteMakefile(
|
||||||
NAME => 'Database::Sophia',
|
NAME => 'Database::Sophia',
|
||||||
LICENSE => 'perl',
|
LICENSE => 'perl',
|
||||||
LINKTYPE => 'dynamic',
|
LINKTYPE => 'dynamic',
|
||||||
CCFLAGS => '-Wall',
|
CCFLAGS => "-Wall $ccflags",
|
||||||
LIBS => ["-L$sophia_src -lsophia -lpthread"],
|
LIBS => ["-L$sophia_src -lsophia -lpthread"],
|
||||||
INC => '-I'. $sophia_src
|
INC => '-I'. $sophia_src
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue