mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
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:
@@ -1,5 +1,12 @@
|
||||
#!/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
|
||||
doslib=
|
||||
if [ -d /usr/src/doslib ]; then doslib=/usr/src/doslib; fi
|
||||
|
@@ -1,5 +1,12 @@
|
||||
#!/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
|
||||
# are causing in this repo. Stop committing the configure scripts
|
||||
# and just autoregen.
|
||||
|
@@ -1,5 +1,12 @@
|
||||
#!/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
|
||||
# are causing in this repo. Stop committing the configure scripts
|
||||
# and just autoregen.
|
||||
|
@@ -1,5 +1,12 @@
|
||||
#!/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
|
||||
# are causing in this repo. Stop committing the configure scripts
|
||||
# and just autoregen.
|
||||
|
@@ -1,5 +1,12 @@
|
||||
#!/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
|
||||
# are causing in this repo. Stop committing the configure scripts
|
||||
# and just autoregen.
|
||||
|
@@ -1,5 +1,12 @@
|
||||
#!/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
|
||||
# are causing in this repo. Stop committing the configure scripts
|
||||
# and just autoregen.
|
||||
|
Reference in New Issue
Block a user