summaryrefslogtreecommitdiff
path: root/makemk.sh
diff options
context:
space:
mode:
authorCharles Forsyth <charles.forsyth@gmail.com>2015-04-02 00:52:34 +0100
committerCharles Forsyth <charles.forsyth@gmail.com>2015-04-02 00:52:34 +0100
commit089b920665152835ff52d910ec4a1408f48411de (patch)
treedad3553c36181e88917e6cecd1f0465f875942a0 /makemk.sh
parent38d2ba637ad0fdfb116b9cf1b2547ae6486c4f87 (diff)
add -m32 to get 32-bit executable (should fix definitions so it works in 64-bit)
Diffstat (limited to 'makemk.sh')
-rwxr-xr-xmakemk.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/makemk.sh b/makemk.sh
index e20886d3..1e18782a 100755
--- a/makemk.sh
+++ b/makemk.sh
@@ -19,8 +19,8 @@ grep -s 'SYSTARG=Plan9' mkconfig || . ./mkconfig
PLAT=$ROOT/$SYSTARG/$OBJTYPE
# you might need to adjust the CC, LD, AR, and RANLIB definitions after this point
-CC="p gcc -c -I$PLAT/include -I$ROOT/include -I$ROOT/utils/include"
-LD="p gcc"
+CC="p gcc -m32 -c -I$PLAT/include -I$ROOT/include -I$ROOT/utils/include"
+LD="p gcc -m32"
AR="p ar crvs"
RANLIB=":" # some systems still require `ranlib'