File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ export TARGET_OS=$OS
37
37
38
38
START_GROUP=--Wl,--start-group
39
39
END_GROUP=--Wl,--end-group
40
- EXTRA_LDFLAGS=-static-libstdc++
41
40
42
41
function fetch_llvm {
43
42
fetched=` basename $1 `
@@ -73,8 +72,6 @@ if [[ $OS == "GNU/Linux" ]] ; then
73
72
fetch_llvm https://github.com/cmaglie/llvm-clang-build-scripts/releases/download/4.0.0/llvm-clang-4.0.0-ubuntu-14.04.5-i686.tar.xz
74
73
elif [[ $MACHINE == " armv7l" ]] ; then
75
74
OUTPUT_TAG=armhf-pc-linux-gnu
76
- # arm builds usually don't ship static libstdc++
77
- EXTRA_LDFLAGS=" "
78
75
fetch_llvm https://github.com/cmaglie/llvm-clang-build-scripts/releases/download/4.0.0/llvm-clang-4.0.0-linux-arm.tar.xz
79
76
else
80
77
echo Linux Machine not supported: $MACHINE
122
119
#
123
120
124
121
CXXFLAGS=" ` clang/bin/llvm-config --cxxflags` $CXXFLAGS "
125
- LDFLAGS=" ` clang/bin/llvm-config --ldflags` $EXTRA_LDFLAGS "
122
+ LDFLAGS=" ` clang/bin/llvm-config --ldflags` -static-libstdc++ "
126
123
LLVMLIBS=` clang/bin/llvm-config --libs --system-libs`
127
124
CLANGLIBS=` ls clang/lib/libclang* .a | sed s/.* libclang/-lclang/ | sed s/.a$//`
128
125
SOURCES=" main.cpp ArduinoDiagnosticConsumer.cpp CommandLine.cpp IdentifiersList.cpp CodeCompletion.cpp"
You can’t perform that action at this time.
0 commit comments