forked from pool/cpprest
Accepting request 314255 from home:AndreasStieger:branches:devel:libraries:c_c++
- fix architecture builds OBS-URL: https://build.opensuse.org/request/show/314255 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=9
This commit is contained in:
@@ -67,7 +67,12 @@ Development files.
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release ../Release
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
%ifarch ppc ppc64 ppc64le aarch64 armv7l
|
||||
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-error=attributes -Wno-error=type-limits -Wno-error=cast-align -Wno-error=deprecated-declarations" \
|
||||
%endif
|
||||
../Release
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
||||
Reference in New Issue
Block a user