From 0145966e8e4f73843a72733e59263ce3f8c69f2e Mon Sep 17 00:00:00 2001 From: QBos07 Date: Sun, 1 Dec 2024 15:41:48 +0000 Subject: Cleanup old avr-libstdcxx code and make it usable on other targets Should not cause major unwanted behavior changes - C++ is now selected by default in many configs. Signed-off-by: QBos07 [cp: depend on CC_LANG_CXX instead of select] Signed-off-by: Chris Packham --- scripts/build/libc/avr-libc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/libc/avr-libc.sh') diff --git a/scripts/build/libc/avr-libc.sh b/scripts/build/libc/avr-libc.sh index c13ae39b..4949380a 100644 --- a/scripts/build/libc/avr-libc.sh +++ b/scripts/build/libc/avr-libc.sh @@ -2,7 +2,7 @@ avr_libc_post_cc() { - if [ "${CT_CC_CORE_PASS_2_NEEDED}" != "y" ]; then + if [ "${CT_CC_CORE_NEEDED}" != "y" ]; then CT_DoStep INFO "Installing C library" CT_DoLog EXTRA "Copying sources to build directory" @@ -32,7 +32,7 @@ avr_libc_post_cc() avr_libc_main() { - if [ "${CT_CC_CORE_PASS_2_NEEDED}" = "y" ]; then + if [ "${CT_CC_CORE_NEEDED}" = "y" ]; then CT_DoStep INFO "Installing C library" CT_DoLog EXTRA "Copying sources to build directory" -- cgit v1.2.3