diff options
Diffstat (limited to 'ldso/ldso/Makefile')
-rw-r--r-- | ldso/ldso/Makefile | 4 |
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 |