diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-03-02 14:28:12 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-03-02 14:28:12 +0400 |
commit | 1ecc04c0bbee03b1cae8e3a1facc56dd375c9adf (patch) | |
tree | 0c25eb47b1b21523392d026b60e652e87852aeb4 /dh_illumos_gate | |
parent | efddf2731289083f66d9cd3f748d051c83509046 (diff) | |
download | dh-illumos-1ecc04c0bbee03b1cae8e3a1facc56dd375c9adf.tar.gz |
dh-illumos (9.5.9) unstable; urgency=mediumv9.5.9
* dh_illumos_gate:
- define SAVEARGS= to disable -msave-args (not supported by our gcc)
- define CW_GCC=gcc so cw from onbld can pick ccache
- patch PATH in bldenv.sh: do not completely redefine PATH, but just
append it (for ccache too)
Diffstat (limited to 'dh_illumos_gate')
-rwxr-xr-x | dh_illumos_gate | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate index c4d2285..5878cbd 100755 --- a/dh_illumos_gate +++ b/dh_illumos_gate @@ -363,6 +363,8 @@ if ( -d 'usr' && ! -f 'usr/env.sh') { print ENV "export __GNUC=''\n"; print ENV "export __GNUC4=''\n"; print ENV "export GCC_ROOT='/usr'\n"; + print ENV "export CW_GCC=gcc\n"; + print ENV "export SAVEARGS=\n"; print ENV "export LEX='/usr/bin/flex -l'\n"; print ENV "export STRIP=':'\n"; print ENV "export MCS=':'\n"; @@ -398,6 +400,7 @@ if (-f $bldenv_sh && ! -f 'usr/bldenv.sh') { doit('cp', '-f', $bldenv_sh, 'usr/bldenv.sh'); doit('sed', '-r', '-i', ' s,export +(CTF.+)="(.+)",export \1="${\1:-\2}",; + s,^PATH=".+",PATH="${PATH}:/opt/onbld/bin:/opt/onbld/bin/${MACH}:.",; ', 'usr/bldenv.sh' ); } |