diff options
author | Rutherther <[email protected]> | 2024-09-13 11:42:12 +0000 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2024-10-12 19:23:33 +0200 |
commit | 9dabdd9e508aba06431a7aef068255f818fb38ad (patch) | |
tree | 25d9f9d735c225f5c5b57dfe8b89c459292375aa /gnu/packages/patches/newlib-getentropy.patch | |
parent | 3f09b05d8d402d306105ef5ac63f8b6dc49c5e3a (diff) |
gnu: make-libstdc++-arm-none-eabi: add nano variant
The arm-none-eabi nano toolchain had same libstdc++ as the non-nano variant.
The libstdc++ should be compiled with -fno-exceptions to make a nano
toolchain.
Additionally, since the "_nano.a" variants were not present, it was impossible
to compile C++ programs with libstdc++ using --specs=nano.specs,
since libstdc++_nano.a was not found.
The `--with-target-subdir="."` flag is a preparation for gcc-12 introduction
since the libstdc++ doesn't build without that, failing on GCC_NO_EXECUTABLES
error in configure stage. I have not been able to find out another workaround.
* gnu/packages/embedded.scm (make-libstdc++-arm-none-eabi):
[arguments]<#:make-flags>: Add CFLAGS and CXXFLAGS.
[arguments]<#:configure-flags>: Add --with-target-subdir.
* gnu/packages/embedded.scm (make-libstdc++-nano-arm-none-eabi): Add variable.
Change-Id: I06a507fef07352a4ec80d84e4d97065343fc2295
Signed-off-by: Ludovic Courtès <[email protected]>
Diffstat (limited to 'gnu/packages/patches/newlib-getentropy.patch')
0 files changed, 0 insertions, 0 deletions