projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add POLLUTE=1 option to MakeMaker
[p5sagit/p5-mst-13.2.git]
/
lib
/
ExtUtils
/
MM_Unix.pm
diff --git
a/lib/ExtUtils/MM_Unix.pm
b/lib/ExtUtils/MM_Unix.pm
index
8d09668
..
40a8256
100644
(file)
--- a/
lib/ExtUtils/MM_Unix.pm
+++ b/
lib/ExtUtils/MM_Unix.pm
@@
-384,6
+384,11
@@
sub cflags {
$self->{OPTIMIZE} =~ s/-TP(\s|$)//;
}
}
+
+ if ($self->{POLLUTE}) {
+ $self->{CCFLAGS} .= ' -DPERL_POLLUTE ';
+ }
+
return $self->{CFLAGS} = qq{
CCFLAGS = $self->{CCFLAGS}
OPTIMIZE = $self->{OPTIMIZE}