summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorStephanos Ioannidis <root@stephanos.io>2019-11-29 16:42:18 (GMT)
committerStephanos Ioannidis <root@stephanos.io>2021-06-07 10:52:58 (GMT)
commit3c637c1eec9fe05c48bcd40186c7831933c2d6f2 (patch)
tree88782b2ee55ae918018d01e203789a4257c4ed50 /packages
parent6dd60ca6947395b41e09fcf2488066651fb8119a (diff)
gcc: Assume '-O2' by default for building gcc target libraries
The gcc target libraries (e.g. libstdc++) are currently built without any optimisation flag when `CT_CC_GCC_ENABLE_TARGET_OPTSPACE` is not enabled and default to `-O0` unless user explicitly specifies an optimisation flag. This commit updates the gcc build script to assume `-O2` for building target libraries unless user provides a different optimisation flag. Note also that this is the default behaviour for gcc when C[XX]FLAGS_FOR_TARGET is not overridden. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions