Update LLVM binary drops and scripts to the latest version from SVN
[WebKit-https.git] / Tools / ReducedFTL / build.sh
1 #!/bin/sh
2
3 set -e
4 set -x
5
6 if test "x${LLVM_PATH}" == "x"
7 then
8     configPath="llvm-config"
9 else
10     configPath="${LLVM_PATH}/bin/llvm-config"
11 fi
12
13 clang -c -o ReducedFTL.o ReducedFTL.c `${configPath} --cppflags --cflags`
14 clang++ -o ReducedFTL ReducedFTL.o -stdlib=libc++ `${configPath} --ldflags --libs` -lcurses