Archived
3
0
This repository has been archived on 2022-01-17. You can view files and clone it, but cannot push or open issues or pull requests.
recipes/libcxx/recipe.spec

14 lines
382 B
RPMSpec

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"