-nostdlib is specific to clang/gcc toolchain, not specific to arm or elf. Only gcc/clang toolchain add this flag, other toolchain(e.g. z80) still keep as before.
On Wed, May 18, 2022 at 8:59 PM Nathan Hartman <hartman.nat...@gmail.com> wrote: > I noticed that we are unconditionally using: > > LDFLAGS += -nostdlib > > Is that correct when building with arm-nuttx-elf toolchain? > > Thanks, > Nathan >