From 29d0b14ee1e8aa2ecb09b89ee32c937f480f1c3e Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Mon, 26 Aug 2019 21:59:25 +0200 Subject: [PATCH] libcxx: initial commit --- libcxx/recipe.spec | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libcxx/recipe.spec 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" +