diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-11 04:04:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-11 04:04:16 +0000 |
commit | d0bd553f5739383740aee1d26bdb018a2c79037c (patch) | |
tree | 4af50d965517e2a2e847ae3012b61502deef18a4 | |
parent | 0a5e4d1594f4c25e86be312e312828d75b5af9cc (diff) |
only create crt0.o compat link for certain arches
-rw-r--r-- | Makerules | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) |