arc: clean-up and move CFLAGS to include/target.mk
authorFelix Fietkau <nbd@openwrt.org>
Mon, 18 Jan 2016 17:52:03 +0000 (17:52 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 18 Jan 2016 17:52:03 +0000 (17:52 +0000)
commite620f4d6f83d457579a6ac53d8659f3171739d18
tree34ea05066ab7801d04cada1663602eb236621b24
parent018e84f58d3d23d5c1f629843ada5569723b9f00
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 <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48326
include/target.mk
target/linux/arc770/Makefile