summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2021-01-09 08:06:43 (GMT)
committerKeith Packard <keithp@keithp.com>2021-01-14 23:05:10 (GMT)
commit945b4c64368b895c190a9b7592d6514bd1ee1d5d (patch)
tree0099e21c47870aeb4cf7c9f5d9f58ff67254473c /samples
parentfcf323336eab38aa8d0fffe75c11062d3e049caa (diff)
Add newlib-nano as companion lib
This allows building newlib-nano in addition to newlib and picolibc, allowing users to select between C libraries within the same toolchain. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/arm-unknown-eabi/crosstool.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/arm-unknown-eabi/crosstool.config b/samples/arm-unknown-eabi/crosstool.config
index 3c8cbb7..ffe0985 100644
--- a/samples/arm-unknown-eabi/crosstool.config
+++ b/samples/arm-unknown-eabi/crosstool.config
@@ -8,3 +8,4 @@ CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
CT_CC_LANG_CXX=y
CT_COMP_LIBS_PICOLIBC=y
CT_TARGET_CFLAGS="-ftls-model=local-exec"
+CT_COMP_LIBS_NEWLIB_NANO=y