Skip to content

Commit

Permalink
append $Config{ccflags} to CCFLAGS
Browse files Browse the repository at this point in the history
This makes it possible for binary distributions to rebuild the module
if perl's $Config{ccflags} is changed for whatever reason. Without
this appending, binary compatibility can't be guaranteed.

http://bugs.debian.org/643038
  • Loading branch information
real-dam committed Sep 26, 2011
1 parent 0e6c977 commit f2cf59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.PL
Expand Up @@ -158,7 +158,7 @@ my %MakeParams = (
VERSION_FROM => 'Firebird.pm', # finds $VERSION
C => ['dbdimp.c'],
H => [ 'dbdimp.h', 'Firebird.h' ],
CCFLAGS => '-Wall -fno-strict-aliasing',
CCFLAGS => "-Wall -fno-strict-aliasing $Config{ccflags}",
INC => qq(-I"$fb_INC" -I"$dbi_arch_dir"),
OBJECT => "Firebird.o dbdimp.o",
LIBS => [''],
Expand Down

0 comments on commit f2cf59c

Please sign in to comment.