aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMakefile.PL2
-rw-r--r--NEWS3
2 files changed, 4 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";
diff --git a/NEWS b/NEWS
index 47218d0..206fe04 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@
- revert fix for segfault with rpm-4.14 when checking invalid signatures as rpm
got fixed
- use ExtUtils::PkgConfig in order to get rpm installed
+- cpan testers:
+ o add cflags reported by pkgconfig
+ (needed for eg: FreeBSD where rpm is installed under /usr/local)
Version 5.15 - 3 October 2017