Skip to content

Commit e050065

Browse files
committed
Obey the 'debuginfo' option in the Checker
This makes it possible to turn debuginfo generation off with a '--debuginfo=no' option.
1 parent 57b93bf commit e050065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PBuild/Checker.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ sub create {
4848
'builddir' => $builddir,
4949
'block' => undef, # block strategy (all,never)
5050
'rebuild' => undef, # rebuild strategy (transitive,direct,local)
51-
'debuginfo' => 1, # create debug packages?
51+
'debuginfo' => defined($opts->{'debuginfo'}) ? $opts->{'debuginfo'} : 1, # create debug packages?
5252
'genmetaalgo' => $genmetaalgo,
5353
'lastcheck' => {},
5454
'metacache' => {},

0 commit comments

Comments
 (0)