14 lines
382 B
RPMSpec
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"
|
|
|