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