Adapt build-debug scripts on Linux to accept "32" as a signal to compile 32-bit (-m32) on a 64-bit system

This commit is contained in:
Jonathan Campbell
2019-03-17 16:00:27 -07:00
parent 57bff6669b
commit 67f5be36a7
6 changed files with 42 additions and 0 deletions

View File

@@ -1,5 +1,12 @@
#!/bin/bash #!/bin/bash
# allow 32-bit on 64-bit (x86) builds
if [ "$1" == "32" ]; then
export CC=`which gcc`" -m32"
export CXX=`which g++`" -m32"
shift
fi
# Jonathan C dev hack: refer to LNKDOS16 in /usr/src/doslib # Jonathan C dev hack: refer to LNKDOS16 in /usr/src/doslib
doslib= doslib=
if [ -d /usr/src/doslib ]; then doslib=/usr/src/doslib; fi if [ -d /usr/src/doslib ]; then doslib=/usr/src/doslib; fi

View File

@@ -1,5 +1,12 @@
#!/bin/bash #!/bin/bash
# allow 32-bit on 64-bit (x86) builds
if [ "$1" == "32" ]; then
export CC=`which gcc`" -m32"
export CXX=`which g++`" -m32"
shift
fi
# I'm sick and tired of all the churn the three versions of autoconf # I'm sick and tired of all the churn the three versions of autoconf
# are causing in this repo. Stop committing the configure scripts # are causing in this repo. Stop committing the configure scripts
# and just autoregen. # and just autoregen.

View File

@@ -1,5 +1,12 @@
#!/bin/bash #!/bin/bash
# allow 32-bit on 64-bit (x86) builds
if [ "$1" == "32" ]; then
export CC=`which gcc`" -m32"
export CXX=`which g++`" -m32"
shift
fi
# I'm sick and tired of all the churn the three versions of autoconf # I'm sick and tired of all the churn the three versions of autoconf
# are causing in this repo. Stop committing the configure scripts # are causing in this repo. Stop committing the configure scripts
# and just autoregen. # and just autoregen.

View File

@@ -1,5 +1,12 @@
#!/bin/bash #!/bin/bash
# allow 32-bit on 64-bit (x86) builds
if [ "$1" == "32" ]; then
export CC=`which gcc`" -m32"
export CXX=`which g++`" -m32"
shift
fi
# I'm sick and tired of all the churn the three versions of autoconf # I'm sick and tired of all the churn the three versions of autoconf
# are causing in this repo. Stop committing the configure scripts # are causing in this repo. Stop committing the configure scripts
# and just autoregen. # and just autoregen.

View File

@@ -1,5 +1,12 @@
#!/bin/bash #!/bin/bash
# allow 32-bit on 64-bit (x86) builds
if [ "$1" == "32" ]; then
export CC=`which gcc`" -m32"
export CXX=`which g++`" -m32"
shift
fi
# I'm sick and tired of all the churn the three versions of autoconf # I'm sick and tired of all the churn the three versions of autoconf
# are causing in this repo. Stop committing the configure scripts # are causing in this repo. Stop committing the configure scripts
# and just autoregen. # and just autoregen.

View File

@@ -1,5 +1,12 @@
#!/bin/bash #!/bin/bash
# allow 32-bit on 64-bit (x86) builds
if [ "$1" == "32" ]; then
export CC=`which gcc`" -m32"
export CXX=`which g++`" -m32"
shift
fi
# I'm sick and tired of all the churn the three versions of autoconf # I'm sick and tired of all the churn the three versions of autoconf
# are causing in this repo. Stop committing the configure scripts # are causing in this repo. Stop committing the configure scripts
# and just autoregen. # and just autoregen.