diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-02 23:50:51 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-02 23:50:51 +0000 |
commit | 39d74aae955e53852e4dbfbcd634c61cb8f31747 (patch) | |
tree | 78f89c5aa461aa348efb0c207f93087b045937ad /Rules.mak | |
parent | 6264eafa58e25b3b67c80b51b8ddc17bc50e2213 (diff) |
Patch from James Graves <jgraves@deltamobile.com> to get
m68k started. Should be just sysdeps/linux/m68k left to
hack at this point...
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -24,15 +24,13 @@ include $(TOPDIR)Config -GCCINCDIR = $(shell gcc -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp") +GCCINCDIR = $(shell $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp") ARFLAGS=r CCFLAGS=$(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) -Dlinux -D__linux__ -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D__LIBC__ -# 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') -ifeq ($(ARCH), arm) +ifeq ($(TARGET_ARCH), arm) ARCH_CFLAGS=-fpic endif |