Permalink
Browse files

Enable the use of $Config{ccflags} during build (Thanks, Dominic Harg…

…reaves)
  • Loading branch information...
1 parent 802d8c2 commit 438797445cf2c7afb29a8f580a6ab20893df6bd1 @dkg dkg committed Aug 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile.PL
View
@@ -45,7 +45,7 @@ WriteMakefile(
'VERSION_FROM' => 'lib/Crypt/GCrypt.pm',
'LIBS' => $libs,
'DEFINE' => '',
- 'CCFLAGS' => '-funsigned-char',
+ 'CCFLAGS' => "-funsigned-char $Config{ccflags}",
'dist' => { COMPRESS => 'gzip', SUFFIX => 'gz' },
'DISTNAME' => 'Crypt-GCrypt',
'LICENSE' => 'perl',

0 comments on commit 4387974

Please sign in to comment.