gcc/libssp's configure script runs checks for flags that clang doesn't implement. We actually just need to set a few HAVE defines and compile the .c sources, so just check out this subdirectory using svn and build it using a custom makefile.
17 lines
251 B
Bash
Executable File
17 lines
251 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ $# -lt 1 ]; then
|
|
echo $0 dest
|
|
exit 1
|
|
fi
|
|
PREFIX="$1"
|
|
|
|
./build-llvm.sh $PREFIX
|
|
./install-wrappers.sh $PREFIX
|
|
./build-mingw-w64.sh $PREFIX
|
|
./build-compiler-rt.sh $PREFIX
|
|
./build-libcxx.sh $PREFIX
|
|
./build-libssp.sh $PREFIX
|