summaryrefslogtreecommitdiff
path: root/ldso/ldso/Makefile
diff options
context:
space:
mode:
authorTobias Anderberg <tobias.anderberg@axis.com>2002-09-16 08:12:33 +0000
committerTobias Anderberg <tobias.anderberg@axis.com>2002-09-16 08:12:33 +0000
commit37184f99f86fbe96f2bddbb4f773e70a4fcc8fea (patch)
treeed6aca72f4817d74274c24fd99fda0e9b64530f5 /ldso/ldso/Makefile
parent27ef34961183c110abc8c5fee05f1c5016c8042a (diff)
Updated for the CRIS port.
Diffstat (limited to 'ldso/ldso/Makefile')
-rw-r--r--ldso/ldso/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index e647bc972..262ec5073 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -73,6 +73,10 @@ ASRC=$(shell ls $(TARGET_ARCH)/*.S)
AOBJS=$(patsubst %.S,%.o, $(ASRC))
OBJS=$(AOBJS) $(COBJS)
+ifeq ($(strip $(TARGET_ARCH)),cris)
+LDFLAGS+=-mcrislinux
+endif
+
ifneq ($(strip $(DODEBUG)),true)
LDFLAGS+=-s
endif