aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/libc/avr-libc.sh
diff options
context:
space:
mode:
authorQBos07 <qubos@outlook.de>2024-12-01 15:41:48 +0000
committerChris Packham <judge.packham@gmail.com>2024-12-23 19:13:45 +1300
commit0145966e8e4f73843a72733e59263ce3f8c69f2e (patch)
tree3a7b8a0bbf129a6cf3dd7430163a826b973913bd /scripts/build/libc/avr-libc.sh
parent71cfd2d094dfc44b8e0d233cabeb75d536f46d22 (diff)
downloadcrosstool-ng-0145966e8e4f73843a72733e59263ce3f8c69f2e.tar.gz
crosstool-ng-0145966e8e4f73843a72733e59263ce3f8c69f2e.tar.bz2
crosstool-ng-0145966e8e4f73843a72733e59263ce3f8c69f2e.zip
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 <qubos@outlook.de> [cp: depend on CC_LANG_CXX instead of select] Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'scripts/build/libc/avr-libc.sh')
-rw-r--r--scripts/build/libc/avr-libc.sh4
1 files changed, 2 insertions, 2 deletions
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"