aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-xMakefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index dc49101..a6e2492 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -54,7 +54,7 @@ foreach (qw(
print $FH "\n#endif\n";
close($FH);
-my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing', $cfg{cflags});
+my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing', $cfg{cflags}, "-DRPM_VERSON=$cfg{modversion}");
print "Found RPM version $cfg{modversion} (compiling with flags: $ccflags)\n";