From 520aafee0de8f668f253f59014cac4b27b74d1ec5e0de4cb99f39b83647652c1 Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Sun, 28 Jun 2015 14:32:09 +0000 Subject: [PATCH] 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 --- cpprest.changes | 5 +++++ cpprest.spec | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/cpprest.changes b/cpprest.changes index 4b0d884..0d75f3f 100644 --- a/cpprest.changes +++ b/cpprest.changes @@ -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 diff --git a/cpprest.spec b/cpprest.spec index c3e9295..64c1d42 100644 --- a/cpprest.spec +++ b/cpprest.spec @@ -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