SHA256
8
0
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:
2015-06-28 14:32:09 +00:00
committed by Git OBS Bridge
parent 130162174a
commit 520aafee0d
2 changed files with 11 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 28 13:11:08 UTC 2015 - astieger@suse.com
- fix architecture builds
-------------------------------------------------------------------
Wed Jun 24 10:04:53 UTC 2015 - idonmez@suse.com

View File

@@ -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