diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-09-29 19:10:25 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-09-29 19:10:25 +0400 |
commit | 5b2a67eb1defbab34e9a1fbc14a41e1e62a7566c (patch) | |
tree | 749728992518a7a508dd49f77d1424d27757c829 | |
parent | 664812b3844402cc23b03c9edffaf663229e03b7 (diff) | |
download | dh-illumos-5b2a67eb1defbab34e9a1fbc14a41e1e62a7566c.tar.gz |
Make --native really work
-rwxr-xr-x | dh_illumos_make | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dh_illumos_make b/dh_illumos_make index ff7896d..f1d36a0 100755 --- a/dh_illumos_make +++ b/dh_illumos_make @@ -146,10 +146,13 @@ $env .= ' CTFMERGE=:' if $dh{'WITHOUT_CTF'}; if ($dh{'NATIVE'}) { $env .= ' i386_XARCH='; - $env .= ' LDLIBS32="$LDLIBS_NATIVE"'; + $env .= ' LDLIBS32="\$LDLIBS_NATIVE"'; } + +$env = "export $env &&" if $env; + foreach (@dirs) { - complex_doit(qq!cd illumos-gate && ksh93 bldenv.sh $opts env.sh -c "cd $_ && env $env $dh{'MAKE'} $dh{'TARGET'}"!); + complex_doit(qq!cd illumos-gate && ksh93 bldenv.sh $opts env.sh -c "cd $_ && $env $dh{'MAKE'} $dh{'TARGET'}"!); } =head1 SEE ALSO |