aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2025-03-23 11:45:17 +0000
committerIain Sandoe <iain@sandoe.co.uk>2025-03-23 20:44:33 +0000
commit70bc553e1b565d2e162894ea29a223b44e9133e3 (patch)
treec760da90c75ba7e8dded7dedff6573f89edd54c0
parenteda74cd05447475d385b8a8216e3412da96a46da (diff)
downloadgcc-70bc553e1b565d2e162894ea29a223b44e9133e3.zip
gcc-70bc553e1b565d2e162894ea29a223b44e9133e3.tar.gz
gcc-70bc553e1b565d2e162894ea29a223b44e9133e3.tar.bz2
toplevel, Makefile: Add missing CXX_FOR_TARGET export [PR88319].
Actually, the issue is not local to the libitm case, it currently affects any 'cxx=true' top-level configured target library. The issue is a missing export of CXX_FOR_TARGET. PR libitm/88319 ChangeLog: * Makefile.in: Regenerate. * Makefile.tpl: Add CXX_FOR_TARGET to NORMAL_TARGET_EXPORTS. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
-rw-r--r--Makefile.in1
-rw-r--r--Makefile.tpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 87880c6..a5e6e11 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -339,6 +339,7 @@ RAW_CXX_TARGET_EXPORTS = \
NORMAL_TARGET_EXPORTS = \
$(BASE_TARGET_EXPORTS) \
+ CXX_FOR_TARGET="$(CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
# Where to find GMP
diff --git a/Makefile.tpl b/Makefile.tpl
index da38dca..7dccf91 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -342,6 +342,7 @@ RAW_CXX_TARGET_EXPORTS = \
NORMAL_TARGET_EXPORTS = \
$(BASE_TARGET_EXPORTS) \
+ CXX_FOR_TARGET="$(CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
# Where to find GMP