summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbencollins <tailor@grayson>2006-06-01 13:19:00 -0400
committerBen Collins <bcollins@ubuntu.com>2006-06-01 13:19:00 -0400
commitc836dbdabfaeed3a1741edfe221b56be8c63e5fc (patch)
tree9c0d374dfb21e9940845ad6d484b2c6da2d80d2f
parentb35a6dac4da51cd846c2f35ba8a329910e82262b (diff)
downloadsilo-c836dbdabfaeed3a1741edfe221b56be8c63e5fc.tar.gz
[silo @ 101]
Force 32-bit build, since we can't build 64-bit anyway#
-rw-r--r--Rules.make6
-rw-r--r--first/Makefile8
2 files changed, 5 insertions, 9 deletions
diff --git a/Rules.make b/Rules.make
index 5a70bc5..26fbdbe 100644
--- a/Rules.make
+++ b/Rules.make
@@ -1,8 +1,12 @@
VERSION=1.3.2
IMGVERSION=0.99
RM=rm -f
-CC=gcc
+# We want to force 32-bit builds
+CC=gcc -m32
LD=ld
+AS=as
+STRIP=strip
+NM=nm
ELFTOAOUT=elftoaout
BIN2H=../common/bin2h
CFLAGS=-Os -Wall -I. -I../include -fomit-frame-pointer -fno-strict-aliasing
diff --git a/first/Makefile b/first/Makefile
index 4637857..8e8cab4 100644
--- a/first/Makefile
+++ b/first/Makefile
@@ -3,15 +3,7 @@
##
#
-CC=gcc
-LD=ld
-AS=as
-STRIP=strip
-NM=nm
-
-RM=/bin/rm -f
DD=dd
-ELFTOAOUT=/usr/bin/elftoaout
include ../Rules.make