diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-11-05 07:53:32 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-11-06 20:53:09 +0100 |
commit | 850a49881df49980431a56c38d539e7cd3f05577 (patch) | |
tree | 1cf820edd06553960dc63f6b80f4eb820a451d41 /Makefile.PL | |
parent | 5f0970547effa847de30eb48858c520f68f20ebf (diff) | |
download | perl-URPM-850a49881df49980431a56c38d539e7cd3f05577.tar perl-URPM-850a49881df49980431a56c38d539e7cd3f05577.tar.gz perl-URPM-850a49881df49980431a56c38d539e7cd3f05577.tar.bz2 perl-URPM-850a49881df49980431a56c38d539e7cd3f05577.tar.xz perl-URPM-850a49881df49980431a56c38d539e7cd3f05577.zip |
add cflags reported by pkgconfig
Needed for eg: FreeBSD where rpm is installed under /usr/local
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-x | Makefile.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL index 8f4b659..8263fb7 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -34,7 +34,7 @@ unless (eval { %cfg = ExtUtils::PkgConfig->find("rpm >= $build_reqs{rpm}"); 1 }) } -my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing'); +my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing', $cfg{cflags}); print "Found RPM version $cfg{modversion} (compiling with flags: $ccflags)\n"; |