mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 08:25:32 +00:00
Pass CXXFLAGS to binutils/gold.
The GOLD linker is written in C++. Pass CT_CFLAGS_FOR_HOST as CXXFLAGS to configure so that any host specific flags are passed through. It feels a bit funny passing CFLAGS as CXXFLAGS, but the PPL and GCC target rules already do the same. Signed-off-by: Michael Hope <michael.hope@linaro.org>
This commit is contained in:
parent
1453251040
commit
1215a8fbcc
@ -64,6 +64,7 @@ do_binutils() {
|
||||
|
||||
CT_DoExecLog CFG \
|
||||
CFLAGS="${CT_CFLAGS_FOR_HOST}" \
|
||||
CXXFLAGS="${CT_CFLAGS_FOR_HOST}" \
|
||||
"${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}/configure" \
|
||||
--build=${CT_BUILD} \
|
||||
--host=${CT_HOST} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user