summaryrefslogtreecommitdiff
path: root/dh_illumos_gate
diff options
context:
space:
mode:
Diffstat (limited to 'dh_illumos_gate')
-rwxr-xr-xdh_illumos_gate5
1 files changed, 5 insertions, 0 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate
index e639b1c..f2b4630 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -329,6 +329,10 @@ not tolerant here. Also replace option C<-f> with C<-t>.
Append C<i386_XARCH> with C<-m32> since native host compiler can produce 64-bit
code by default.
+Set initial value of C<POST_PROCESS_O> to C<:> since it may be appended
+later with other commands separated by C<;>, but bash and dash
+do not like stand-alone C<;>. Korn shell is ok.
+
Explicitly undefine some CPP macros related to amd64 for building 32-bit
objects, e. i. options like C<-U__amd64> are appended to C<i386_XARCH>
and C<i386_AS_XARCH>.
@@ -382,6 +386,7 @@ if ( -f $Makefile_master ) {
doit(
'sed', '-r', '-i', '
/^INS\.(file|dir)/ s, -s,,;
+ s/^POST_PROCESS_O\s*=\s*$/POST_PROCESS_O = :/;
/^INS\.file/ s, -f, -t,;
/^i386_XARCH\s*=/s,$, -m32 ' . $i386_undef . ',;
/^i386_AS_XARCH\s*=/s,$, ' . $i386_undef . ',;