summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-26 07:12:49 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-26 07:12:49 +0000
commitcf4328b16efe844461420da58f4f0b0f75964418 (patch)
tree16b0bacc58eebb283c2da0385ed28b10580d0c86 /Rules.mak
parent539adfd7c7cbc7d6d3bea94eb1aa2a7103ca71c0 (diff)
Add some more stuff -- {get|set}mntent, getline, getdelim, etc.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index f83e533e0..d4da86274 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -66,6 +66,9 @@ CROSS = #powerpc-linux-
CC = $(CROSS)gcc
STRIPTOOL = $(CROSS)strip
+# Figure out what arch to build...
+ARCH = $(shell uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/' -e 's/arm.*/arm/g')
+
#--------------------------------------------------------
# Nothing beyond this point should need be touched by mere