diff options
author | Stephanos Ioannidis <root@stephanos.io> | 2021-06-07 14:42:06 +0900 |
---|---|---|
committer | Stephanos Ioannidis <root@stephanos.io> | 2021-06-07 19:53:28 +0900 |
commit | fffa4c5aa5b5995ce88680170fb2288b10b05fbe (patch) | |
tree | 1f879b68ee8ece92e5720cf319c4228983975947 /packages/gdb/6.8a/0000-dwarf-stack-overflow.patch | |
parent | 3c637c1eec9fe05c48bcd40186c7831933c2d6f2 (diff) | |
download | crosstool-ng-fffa4c5aa5b5995ce88680170fb2288b10b05fbe.tar.gz crosstool-ng-fffa4c5aa5b5995ce88680170fb2288b10b05fbe.tar.bz2 crosstool-ng-fffa4c5aa5b5995ce88680170fb2288b10b05fbe.zip |
gcc: Allow setting custom target CXXFLAGS
This commit adds two additional arguments (`cxxflags_for_target` and
`extra_cxxflags_for_target`) for the gcc backend build function that
can be used to specify custom target CXXFLAGS.
By default, the target CXXFLAGS is set to the target CFLAGS. When
`cxxflags_for_target` is specified however, it overrides that behaviour
and allows setting different target CXXFLAGS from the target CFLAGS.
The `extra_cxxflags_for_target` argument can be used to specify the
extra target CXXFLAGS to be appended to the target CXXFLAGS. This is
useful when it is necessary to append CXX-specific flags to the
existing CFLAGS to be used as the target CXXFLAGS.
A useful application of this is building full and nano versions of
libstdc++ with different target CXXFLAGS as necessitated by
`nano.specs`.
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