diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-06-03 06:03:02 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-04 10:58:40 +0200 |
commit | c101f1b1b8fe0b6cf6feb5916d045bc9713e76bd (patch) | |
tree | 7dd91e657bc00b0814dd04414f7ccab6e8767d3f /package/gcc/gcc-initial | |
parent | 5c177415eedc7181dde4308cb267e0f811020f18 (diff) | |
download | buildroot-c101f1b1b8fe0b6cf6feb5916d045bc9713e76bd.tar.gz buildroot-c101f1b1b8fe0b6cf6feb5916d045bc9713e76bd.zip |
gcc: add hidden symbol for defaults
Some architectures, f.e. Blackfin doesn't support to configure GCC with
--with-cpu to set some CPU specific default CFLAGS (-mcpu=foo). Use a
hidden config symbol to give a hint which architecture supports it,
otherwise add defaults to toolchain wrapper for internal toolchains.
Idea from Thomas Petazzoni.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas:
- simplify the Config.in logic with just one option named
BR2_GCC_ARCH_HAS_CONFIGURABLE_DEFAULTS, defined in package/gcc in one
place.
- improve the organization of the code and name of variables.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gcc/gcc-initial')
0 files changed, 0 insertions, 0 deletions