diff options
author | Stephanos Ioannidis <root@stephanos.io> | 2019-11-30 01:42:18 +0900 |
---|---|---|
committer | Stephanos Ioannidis <root@stephanos.io> | 2021-06-07 19:52:58 +0900 |
commit | 3c637c1eec9fe05c48bcd40186c7831933c2d6f2 (patch) | |
tree | 88782b2ee55ae918018d01e203789a4257c4ed50 /packages/gdb/6.8a/0000-dwarf-stack-overflow.patch | |
parent | 6dd60ca6947395b41e09fcf2488066651fb8119a (diff) | |
download | crosstool-ng-3c637c1eec9fe05c48bcd40186c7831933c2d6f2.tar.gz crosstool-ng-3c637c1eec9fe05c48bcd40186c7831933c2d6f2.tar.bz2 crosstool-ng-3c637c1eec9fe05c48bcd40186c7831933c2d6f2.zip |
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/gdb/6.8a/0000-dwarf-stack-overflow.patch')
0 files changed, 0 insertions, 0 deletions