diff --git a/libcxx/recipe.spec b/libcxx/recipe.spec new file mode 100644 index 0000000..2cdbd70 --- /dev/null +++ b/libcxx/recipe.spec @@ -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" +