Obsolete
/
recipes
Archived
3
0
Fork 0

libcxx: initial commit

master
Luka Vandervelden 2019-08-26 21:59:25 +02:00
parent 54638ca0cd
commit 29d0b14ee1
1 changed files with 13 additions and 0 deletions

13
libcxx/recipe.spec Normal file
View File

@ -0,0 +1,13 @@
name: libcxx
version: 8.0.1
sources: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{name}-%{version}.src.tar.xz
@configure
mkdir %{name}-%{version}
cd %{name}-%{version}
CC=clang cmake ../%{name}-%{version}.src \
-DCMAKE_INSTALL_PREFIX=/usr/weirdos \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="-fPIC -O2" \
-DCMAKE_C_FLAGS="-fPIC -O2"