patch CMakeLists.txt in %prep section

epel9
Rex Dieter 12 years ago
parent fbaeb9fa50
commit 0308a1ee7d

@ -44,10 +44,12 @@ designer the ability to create smooth, animated user interfaces.
%setup -q -n %{name}-%{sddm_commit} %setup -q -n %{name}-%{sddm_commit}
%patch2 -p1 -b .session-list %patch2 -p1 -b .session-list
%build
mkdir -p %{_target_platform}
# get rid of the architecture flag # get rid of the architecture flag
sed -i "s/-march=native//" CMakeLists.txt sed -i "s/-march=native//" CMakeLists.txt
%build
mkdir -p %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}
%{cmake} .. %{cmake} ..
popd popd

Loading…
Cancel
Save