SHARE
TWEET

Untitled

a guest Dec 28th, 2015 28 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mkdir build
  2. cd build
  3.   cmake \
  4.     -DCMAKE_C_COMPILER="clang" \
  5.     -DCMAKE_CXX_COMPILER="clang++" \
  6.     -DCMAKE_C_FLAGS="-O2 -fPIC" \
  7.     -DCMAKE_CXX_FLAGS="-O2 -fPIC" \
  8.     -DCMAKE_INSTALL_PREFIX=/usr \
  9.     -DLLVM_LIBDIR_SUFFIX=lib64 \
  10.     -DCMAKE_BUILD_TYPE=Release \
  11.     -DLLVM_ENABLE_RTTI=ON \
  12.     -DLLVM_ENABLE_FFI=ON \
  13.     -DLLVM_ENABLE_ASSERTIONS=OFF \
  14.     -DLLVM_APPEND_VC_REV=ON \
  15.     -DBUILD_SHARED_LIBS=ON ..
  16.   make
  17.   make install DESTDIR=$PKG
  18. cd ..
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top