arc: clean-up and move CFLAGS to include/target.mk
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Jan 2016 17:52:03 +0000 (17:52 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Jan 2016 17:52:03 +0000 (17:52 +0000)
commit6d3435ea1a21a8dc23e6098461210e9b675014da
treee720b9d3a6299763a6fc2b0db9cdf83389fb1a42
parentaac5294a27b3b0b7f5ccf27f409670e720bf7239
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48326 3c298f89-4303-0410-b956-a3cf2f4a3e73
include/target.mk
target/linux/arc770/Makefile