Back out the rest of commit 1e754402b8. Newlib support will not be accepted into the NuttX repository.

This commit is contained in:
Gregory Nutt 2016-11-03 09:43:27 -06:00
parent de30c2e5dd
commit bdde5720ca

View File

@ -117,12 +117,6 @@ OBJEXT = .o
LIBEXT = .a
EXEEXT =
ifeq ($(CONFIG_CXX_LINK_GNUTOOL_LIB),y)
EXTRA_LIBS = "${shell "$(CXX)" $(ARCHCPUFLAGS) -print-file-name=$(LIBSTDCXX)}"
GXX_LIBDIR := ${shell dirname $(LIBGXX)}
EXTRA_LIBPATHS = -L"$(GXX_LIBDIR)"
endif
ifneq ($(CROSSDEV),arm-nuttx-elf-)
LDFLAGS += -nostartfiles -nodefaultlibs
endif