aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix
diff options
context:
space:
mode:
Diffstat (limited to 'code/unix')
-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