diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-04-29 10:20:04 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2022-04-29 10:44:48 +0200 |
commit | 530c37ba0a008147ca471921cc69b058e4b8a12b (patch) | |
tree | eeaf33c1ed5e3f7b6ac846af2c69fd68c665a273 /RPM4 | |
parent | 45a5a10092da7f2f0966505c816a3c0660306364 (diff) | |
download | perl-RPM4-530c37ba0a008147ca471921cc69b058e4b8a12b.tar perl-RPM4-530c37ba0a008147ca471921cc69b058e4b8a12b.tar.gz perl-RPM4-530c37ba0a008147ca471921cc69b058e4b8a12b.tar.bz2 perl-RPM4-530c37ba0a008147ca471921cc69b058e4b8a12b.tar.xz perl-RPM4-530c37ba0a008147ca471921cc69b058e4b8a12b.zip |
Show rpm version in cflags in order to have more data from cpan testers
Diffstat (limited to 'RPM4')
-rw-r--r-- | RPM4/Makefile.PL | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/RPM4/Makefile.PL b/RPM4/Makefile.PL index 3120988..058b801 100644 --- a/RPM4/Makefile.PL +++ b/RPM4/Makefile.PL @@ -1,6 +1,7 @@ # $Id$ # use 5.008; +use Config; use ExtUtils::MakeMaker; use ExtUtils::PkgConfig; use Getopt::Long; @@ -56,6 +57,8 @@ MAKECHANGELOG WriteMakefile( NAME => 'RPM4', VERSION_FROM => 'lib/RPM4.pm', + # Just for seeing it in the logs when inspecting cpan testers failures: + CCFLAGS => "$cfg{cflags} -Wall -DRPM$cfg{modversion} $Config{ccflags}", DIR => [ 'src' ], 'EXE_FILES' => [ qw(bin/rpm_produced bin/rpmresign bin/hrpmreb) ], depend => { dist => 'copyrpmconstant' }, |