Move function/data sections to common CFLAGS
commitd146ac6a33a9ba578c7dce0abf8b4ca65689b425
authorStefan Reinauer <reinauer@chromium.org>
Fri, 31 Jul 2015 20:50:03 +0000 (31 13:50 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Sun, 9 Aug 2015 19:03:11 +0000 (9 21:03 +0200)
tree8dd20f8f24f07f1b6304bda46066ba40ad2a7a71
parentd0d487aaf481a5d1667f32eb87213cd33b80921a
Move function/data sections to common CFLAGS

Instead of adding -ffunction-sections and -fdata-sections to
every architecture, just add it to CFLAGS_common, thus making
sure that new architectures will pick it up automatically.

Change-Id: I38e878851226565b7791d05e222cb4e502e0c8a3
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/11105
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Makefile.inc
toolchain.inc