From 5aa6e580754c3e8ddcd5544c7434475220305360 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 1 Mar 2017 13:16:17 -0500 Subject: [PATCH] conditionalize cmake mangling --- libcxxabi.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcxxabi.spec b/libcxxabi.spec index 070f160..9f91bdf 100644 --- a/libcxxabi.spec +++ b/libcxxabi.spec @@ -31,7 +31,9 @@ Summary: Static libraries for libcxxabi %prep %setup -q -n %{name}-%{version}.src +%if 0%{?fedora} >= 26 sed -i 's|${LLVM_BINARY_DIR}/share/llvm/cmake|%{_libdir}/cmake/llvm|g' CMakeLists.txt +%endif %build %ifarch armv7hl