From d0bd553f5739383740aee1d26bdb018a2c79037c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 Jan 2006 04:04:16 +0000 Subject: only create crt0.o compat link for certain arches --- Makerules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makerules') diff --git a/Makerules b/Makerules index f6b9cec1f..60de18a21 100644 --- a/Makerules +++ b/Makerules @@ -188,9 +188,13 @@ $(CTOR_TARGETS): $(do_ar) endif -CRTS_COMPAT = $(top_builddir)lib/crt0.o +ifeq ($(TARGET_ARCH),nios) +CRTS_COMPAT := $(top_builddir)lib/crt0.o $(CRTS_COMPAT): ln -fs crt1.o $(top_builddir)lib/crt0.o +else +CRTS_COMPAT := +endif $(crt-y): $(CRTS) $(CTOR_TARGETS) $(CRTS_COMPAT) -- cgit v1.2.3