From cde74b83f9b204bf56f304224654e4993dc56efc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 21 Mar 2017 20:04:21 +0100 Subject: ARC: remove special CFLAGS/LDFLAGS handling Either toolchain defaults or buildsystems should provide the architecture specific CFLAGS and LDFLAGS. --- Rules.mak | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index ae78f446f..9c481c3c0 100644 --- a/Rules.mak +++ b/Rules.mak @@ -508,12 +508,6 @@ ifeq ($(TARGET_ARCH),c6x) CPU_LDFLAGS-y += $(CPU_CFLAGS) endif -ifeq ($(TARGET_ARCH),arc) - CPU_CFLAGS-$(CONFIG_ARC_CPU_700) += -mA7 - CPU_CFLAGS-$(CONFIG_ARC_CPU_HS) += -mcpu=archs - CPU_LDFLAGS-y += $(CPU_CFLAGS) -marclinux -endif - $(eval $(call check-gcc-var,$(PIEFLAG_NAME))) PIEFLAG := $(CFLAG_$(PIEFLAG_NAME)) ifeq ($(PIEFLAG),) -- cgit v1.2.3