From e620f4d6f83d457579a6ac53d8659f3171739d18 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 18 Jan 2016 17:52:03 +0000 Subject: arc: clean-up and move CFLAGS to include/target.mk Most of currently mentioned CFLAGS in arc770/Makefile are not really required because: [1] "-Os -pipe" are set by default in include/target.mk [2] "-fno-caller-saves" gets enabled via menuconfig as an extra compiler flag for developers So the only one that makes sense is "-matomic" and that one is really essential. Without it many software packges won't build complainin on unresolved atomic ops. Signed-off-by: Alexey Brodkin Cc: Felix Fietkau Cc: Jo-Philipp Wich Cc: Jonas Gorski SVN-Revision: 48326 --- target/linux/arc770/Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'target/linux/arc770') diff --git a/target/linux/arc770/Makefile b/target/linux/arc770/Makefile index 52c5e0008d..f917338aa4 100644 --- a/target/linux/arc770/Makefile +++ b/target/linux/arc770/Makefile @@ -9,7 +9,6 @@ include $(TOPDIR)/rules.mk ARCH:=arc BOARD:=arc770 BOARDNAME:=Synopsys DesignWare ARC 770D -CFLAGS:=-Os -pipe -fno-caller-saves -matomic MAINTAINER:=Alexey Brodkin SUBTARGETS:=generic -- cgit v1.2.3