diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2015-03-24 16:55:15 +0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-22 23:20:50 +0200 |
commit | 0fe633cdff66febadc50bab3e0af4b3be53811c8 (patch) | |
tree | d1684f5a3e78202f1889a2fa14b544abacc6d2a4 /package/python-web2py/python-web2py.mk | |
parent | 64c10ae691e230935473f23ef71ab997293adf8f (diff) | |
download | buildroot-0fe633cdff66febadc50bab3e0af4b3be53811c8.tar.gz buildroot-0fe633cdff66febadc50bab3e0af4b3be53811c8.zip |
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>
Diffstat (limited to 'package/python-web2py/python-web2py.mk')
0 files changed, 0 insertions, 0 deletions