summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-05-26 11:45:03 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-05-26 11:45:03 +0000
commit280a36f0f54fc60104070e25b4e3503bfe3d15de (patch)
tree0849dff4b228ce401129b29413d506fb67985d28
parentb1c97ae634d378b73cc486a04e087204a7e5a1cc (diff)
downloadperl-280a36f0f54fc60104070e25b4e3503bfe3d15de.tar.gz
-mFoo option now forces -uFoo.
p4raw-id: //depot/perlext/Compiler@22
-rw-r--r--B/CC.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/B/CC.pm b/B/CC.pm
index 6bb3acd645..68287d00db 100644
--- a/B/CC.pm
+++ b/B/CC.pm
@@ -1465,7 +1465,9 @@ sub compile {
$freetmps_each_bblock = 1 unless $freetmps_each_loop;
}
} elsif ($opt eq "m") {
+ $arg ||= shift @options;
$module = $arg;
+ push(@unused_sub_packages, $arg);
} elsif ($opt eq "D") {
$arg ||= shift @options;
foreach $arg (split(//, $arg)) {