diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-21 18:58:30 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-21 18:58:30 +0000 |
commit | 36970cc69149ef3a3f32d57663a14adedaebcbb9 (patch) | |
tree | a82e8df0bf9a6771c4b27f9f15c5a2844e8f81ea /Rules.mak | |
parent | 93ccb0356b10af44f620ec035fb76fa8a1165c22 (diff) |
Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - Embedded
and Personal Systems. Thanks!
-Erik
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -34,7 +34,6 @@ endif ARFLAGS=r - CCFLAGS=$(WARNINGS) $(OPTIMIZATION) -fno-builtin -nostdinc $(CPUFLAGS) -Dlinux -D__linux__ -I$(TOPDIR)include -I$(GCCINCDIR) -I. -D__LIBC__ CFLAGS=$(ARCH_CFLAGS) $(CCFLAGS) $(DEFS) $(ARCH_CFLAGS2) @@ -64,6 +63,11 @@ ifeq ($(strip $(TARGET_ARCH)),m68k) CFLAGS += -D__VFORK_MACRO__ -Dconst= -D__const= -D__extension__= endif + +ifeq ($(strip $(TARGET_ARCH)),sh) + CFLAGS += -DNO_UNDERSCORES +endif + NATIVE_ARCH = $(shell uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/' -e 's/arm.*/arm/g' -e 's/m68k.*/m68k/') # It turns out the currently, function-sections causes ldelf2flt to segfault. |