Don't use getcwd in non-copy builds.
(cherry picked from commit f3a3903260
)
This commit is contained in:
parent
71eca86c30
commit
3ecce3dbeb
@ -169,7 +169,7 @@ $mkdir="-mkdir" unless defined $mkdir;
|
||||
$ranlib="echo ranlib";
|
||||
|
||||
$cc=(defined($VARS{'CC'}))?$VARS{'CC'}:'cc';
|
||||
$src_dir=(defined($VARS{'SRC'}))?$VARS{'SRC'}:getcwd();
|
||||
$src_dir=(defined($VARS{'SRC'}))?$VARS{'SRC'}: $platform eq 'copy' ? getcwd() : '.';
|
||||
$bin_dir=(defined($VARS{'BIN'}))?$VARS{'BIN'}:'';
|
||||
|
||||
# $bin_dir.=$o causes a core dump on my sparc :-(
|
||||
|
Loading…
Reference in New Issue
Block a user