kumquat-buildroot/package/gcc
Alexey Brodkin 0fe633cdff gcc: explicitly use C{XX}FLAGS_FOR_TARGET instead of --enable-target-optspace
The gcc.mk file is passing --enable-target-optspace to gcc configure
script, to ask for space-optimized (-Os) target libraries. However,
passing this option has the effect of overriding any custom
CFLAGS_FOR_TARGET or CXXFLAGS_FOR_TARGET values that may be passed.

These are some situations when it is required to pass custom flags on
buildong
of libgcc:
 * Default flags "-g -Os" lead to build isses as with PowerPC on gcc 4.5
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810)
 * Particular CPU requires specific instructions for HW support
 * Deep optimizations

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-22 23:20:50 +02:00
..
4.5.4
4.7.4
4.8.5
4.9.3
5.2.0
arc-2015.06
gcc-final gcc: add support for fortran 2015-07-19 14:48:33 +02:00
gcc-initial
Config.in.host gcc: add support for fortran 2015-07-19 14:48:33 +02:00
gcc.hash
gcc.mk gcc: explicitly use C{XX}FLAGS_FOR_TARGET instead of --enable-target-optspace 2015-07-22 23:20:50 +02:00