aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix/Makefile
diff options
context:
space:
mode:
authorzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-27 18:10:36 +0000
committerzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-27 18:10:36 +0000
commit3dbd5ffc8df0bb4a6dcee022f5c79ffe7875e26f (patch)
treee57df2d47b4d9ee7d596ecf350b52b49a80d39eb /code/unix/Makefile
parentcdee001c048186fae97830764c42e4ccd27622ad (diff)
downloadioquake3-aero-3dbd5ffc8df0bb4a6dcee022f5c79ffe7875e26f.tar.gz
ioquake3-aero-3dbd5ffc8df0bb4a6dcee022f5c79ffe7875e26f.zip
From ludwig: Unsigned overflows don't work in 64bit address space ...
git-svn-id: svn://svn.icculus.org/quake3/trunk@11 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix/Makefile')
-rwxr-xr-xcode/unix/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile
index 6195c1a..69d69af 100755
--- a/code/unix/Makefile
+++ b/code/unix/Makefile
@@ -179,6 +179,12 @@ ifeq ($(PLATFORM),linux)
LDFLAGS=-ldl -lm
GLLDFLAGS=-L/usr/X11R6/$(LIB) -lX11 -lXext -lXxf86dga -lXxf86vm
+ ifeq ($(ARCH),i386)
+ # linux32 make ...
+ BASE_CFLAGS += -m32
+ LDFLAGS+=-m32
+ endif
+
ifeq ($(ARCH),axp)
TARGETS=\
$(B)/$(PLATFORM)q3ded