diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-11-06 20:53:33 -0800 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-11-06 21:02:22 -0800 |
commit | 31558c55c97a5ae21db0397a002d41bc77ef9abb (patch) | |
tree | 6f717af3f93ba7589dc8e931953c11ddadfb43d1 | |
parent | 2073e99f244b73df50d6e158e26d19e638bd24d3 (diff) | |
download | crawl-ref-31558c55c97a5ae21db0397a002d41bc77ef9abb.tar.gz crawl-ref-31558c55c97a5ae21db0397a002d41bc77ef9abb.zip |
makefile: build native arch on Mac OS X
The previous default was 'i386', but that obviously wouldn't go
well on a PowerPC machine.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
-rw-r--r-- | crawl-ref/source/makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile index 035265a5de..72922be698 100644 --- a/crawl-ref/source/makefile +++ b/crawl-ref/source/makefile @@ -206,10 +206,7 @@ ifdef APPLE_GCC SDK_VER := 10.4 GCC_VER := 4.0 -# FIXME: The '-arch i386' is only here until -# SDL 1.2.14 is available -# -ARCHS := i386 +ARCHS := $(shell arch) export ARCHS CF_ARCHS := $(patsubst %,-arch %,$(ARCHS)) |