Skip to content
Snippets Groups Projects
Commit 195dbf4a authored by Daniel Agar's avatar Daniel Agar
Browse files

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

parent 542cd7f2
No related branches found
No related tags found
No related merge requests found
......@@ -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})
......
......@@ -108,6 +108,7 @@ CFLAGS = $(ARCHINCLUDES) \
CXXFLAGS = $(ARCHXXINCLUDES) \
-std=gnu++11 \
-nostdinc++ \
${CMAKE_CXX_FLAGS} \
$(FLAGS) \
-fcheck-new \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment