From c95e1e0b0e0990d7a3586bab0c728fd8681d447873ed3cb5e0867c8a16198c22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 19 Oct 2015 06:58:06 +0000 Subject: [PATCH] - OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsodium?expand=0&rev=25 --- libsodium.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libsodium.spec b/libsodium.spec index 944c3b0..dd26f28 100644 --- a/libsodium.spec +++ b/libsodium.spec @@ -61,8 +61,11 @@ to compile and develop applications that use libsodium. %setup -q %build +%if %arm +export CFLAGS="%{optflags} -fno-tree-vrp" %configure --disable-static -make %{?_smp_mflags} +%endif +make %{?_smp_mflags} V=1 %install make DESTDIR=%{buildroot} install %{?_smp_mflags}