aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index e321882..de6e71d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -47,7 +47,7 @@ rpm: rpmdist
}
my $ccflags = '-Wall -fno-strict-aliasing';
-if ($version =~ /^4\.(?:[5-9]\.|\d\d)/) {
+if ($version =~ /^4\.(4\.[5-9]$|4\.\d\d|[5-9]\.|\d\d)/) {
$ccflags .= ' -DRPM_CALLBACK_LONGLONG';
}