SHA256
1
0
forked from pool/givaro

Disable SIMD and propagation of SIMD flags into .pc file

OBS-URL: https://build.opensuse.org/package/show/science/givaro?expand=0&rev=16
This commit is contained in:
2017-09-09 22:19:09 +00:00
committed by Git OBS Bridge
parent b826c61207
commit d5d5b46090
3 changed files with 49 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package givaro
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@ Url: http://givaro.forge.imag.fr/
#Git-Clone: https://github.com/linbox-team/givaro
Source: https://github.com/linbox-team/givaro/archive/v%version.tar.gz
Patch1: givaro-doc-no-build-time.patch
Patch2: 0001-pkgconfig-file-must-not-have-non-I-flags.patch
# Old doxygen does not properly handle symlink recursion
BuildRequires: doxygen >= 1.5.7.1
BuildRequires: fdupes
@@ -105,12 +106,12 @@ the Givaro API.
%prep
%setup -q
%patch -P 1 -p1
%patch -P 1 -P 2 -p1
%build
autoreconf -fi
%configure --disable-static --enable-doc --with-docdir="%_docdir/%name" \
--enable-silent-rules
--enable-silent-rules --disable-simd
chmod a+x givaro-config
make %{?_smp_mflags}