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:
@@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user