libcxx: better cmake parameters
This commit is contained in:
parent
ea0bf614d5
commit
af88835b80
@ -6,8 +6,10 @@ sources: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{versio
|
||||
mkdir %{name}-%{version}
|
||||
cd %{name}-%{version}
|
||||
cmake ../%{name}-%{version}.src \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr/weirdos \
|
||||
-DCMAKE_INSTALL_PREFIX=%{prefix} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS="-fPIC -O2" \
|
||||
-DCMAKE_C_FLAGS="-fPIC -O2"
|
||||
-DLIBCXX_HAS_MUSL_LIBC=ON \
|
||||
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|
||||
-DLIBCXX_CXX_ABI=libcxxabi \
|
||||
-DCMAKE_C_FLAGS="$CFLAGS"
|
||||
|
||||
|
Reference in New Issue
Block a user