]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
toplevel, Makefile: Add missing CXX_FOR_TARGET export [PR88319].
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 23 Mar 2025 11:45:17 +0000 (11:45 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 23 Mar 2025 20:44:33 +0000 (20:44 +0000)
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>
Makefile.in
Makefile.tpl

index 87880c62ad2017e8fd0017bf4a37e7d0884c2141..a5e6e11aece05cd62a8b8e9c15a43daf40f85bd2 100644 (file)
@@ -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
index da38dca697ada789cea7e539fdbac50344dc23d1..7dccf91ed8ecb28e7755892d62f997c341fbe69b 100644 (file)
@@ -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