We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ae204a commit b4d359aCopy full SHA for b4d359a
package-arduino-preprocessor.bash
@@ -108,7 +108,7 @@ fi
108
#
109
110
CXXFLAGS="`clang/bin/llvm-config --cxxflags` $CXXFLAGS"
111
-LDFLAGS=`clang/bin/llvm-config --ldflags`
+LDFLAGS="`clang/bin/llvm-config --ldflags` -static-libstdc++"
112
LLVMLIBS=`clang/bin/llvm-config --libs --system-libs`
113
CLANGLIBS=`ls clang/lib/libclang*.a | sed s/.*libclang/-lclang/ | sed s/.a$//`
114
SOURCES="main.cpp ArduinoDiagnosticConsumer.cpp CommandLine.cpp IdentifiersList.cpp CodeCompletion.cpp"
0 commit comments