diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2015-04-02 00:52:34 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2015-04-02 00:52:34 +0100 |
| commit | 089b920665152835ff52d910ec4a1408f48411de (patch) | |
| tree | dad3553c36181e88917e6cecd1f0465f875942a0 | |
| parent | 38d2ba637ad0fdfb116b9cf1b2547ae6486c4f87 (diff) | |
add -m32 to get 32-bit executable (should fix definitions so it works in 64-bit)
| -rwxr-xr-x | makemk.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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' |
