NuttX platform remove system (toolchain) stdc++ include path

This commit is contained in:
Daniel Agar 2019-01-06 11:33:21 -05:00
parent 542cd7f216
commit 195dbf4ab6
2 changed files with 3 additions and 0 deletions

View File

@ -83,6 +83,7 @@ target_link_libraries(nuttx_cxx INTERFACE nuttx_c)
target_link_libraries(px4 PRIVATE
-nostartfiles
-nodefaultlibs
-nostdlib
@ -99,6 +100,7 @@ target_link_libraries(px4 PRIVATE
-Wl,--end-group
m
gcc
)
target_link_libraries(px4 PRIVATE ${module_libraries})

View File

@ -108,6 +108,7 @@ CFLAGS = $(ARCHINCLUDES) \
CXXFLAGS = $(ARCHXXINCLUDES) \
-std=gnu++11 \
-nostdinc++ \
${CMAKE_CXX_FLAGS} \
$(FLAGS) \
-fcheck-new \