- Add no-sse.diff
OBS-URL: https://build.opensuse.org/package/show/network:telephony/spandsp?expand=0&rev=43
This commit is contained in:
parent
d265faaa42
commit
2cc8732f8b
24
no-sse.diff
Normal file
24
no-sse.diff
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
configure.ac | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
Index: spandsp-3.0.0.g15/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- spandsp-3.0.0.g15.orig/configure.ac
|
||||||
|
+++ spandsp-3.0.0.g15/configure.ac
|
||||||
|
@@ -350,6 +350,7 @@ gnu)
|
||||||
|
if test x"$ac_cv_gcc_unused_but_set_variable" = xyes ; then
|
||||||
|
COMP_VENDOR_CFLAGS="-Wunused-but-set-variable $COMP_VENDOR_CFLAGS"
|
||||||
|
fi
|
||||||
|
+if false; then
|
||||||
|
AX_CHECK_ARM_NEON([$host],
|
||||||
|
[AC_DEFINE([SPANDSP_USE_ARM_NEON], [1], [Use the ARM NEON instruction set])])
|
||||||
|
if test "$enable_neon" = "yes" ; then
|
||||||
|
@@ -382,6 +383,7 @@ gnu)
|
||||||
|
if test "$enable_mmx" = "yes" ; then
|
||||||
|
COMP_VENDOR_CFLAGS="-mmmx $COMP_VENDOR_CFLAGS"
|
||||||
|
fi
|
||||||
|
+fi
|
||||||
|
case $host_os in
|
||||||
|
cygwin*)
|
||||||
|
COMP_VENDOR_LDFLAGS="-no-undefined"
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 18 07:38:15 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Add no-sse.diff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 2 07:34:40 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
Sat Apr 2 07:34:40 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
11
spandsp.spec
11
spandsp.spec
@ -27,6 +27,7 @@ URL: https://github.com/freeswitch/spandsp
|
|||||||
|
|
||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.xz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
|
Patch1: no-sse.diff
|
||||||
Patch2: spandsp-raise-traintime-tolerance.diff
|
Patch2: spandsp-raise-traintime-tolerance.diff
|
||||||
Patch3: spandsp-handle-international-dialstring-prefix.diff
|
Patch3: spandsp-handle-international-dialstring-prefix.diff
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
@ -90,18 +91,14 @@ This package contains documentation for the libspandsp API.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
# The cpuid calls in the source code only apply to a test program.
|
||||||
|
# The library itself is (was) statically enabling -msse during configure, which
|
||||||
|
# is now removed.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define _lto_cflags %nil
|
%define _lto_cflags %nil
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
# Enabling MMX could be safe.. I see cpuid calls in the source
|
|
||||||
%configure \
|
%configure \
|
||||||
%ifarch i586 i686
|
|
||||||
--enable-mmx \
|
|
||||||
%endif
|
|
||||||
%ifarch x86_64
|
|
||||||
--enable-sse --enable-sse2 \
|
|
||||||
%endif
|
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-doc
|
--enable-doc
|
||||||
%make_build
|
%make_build
|
||||||
|
Loading…
Reference in New Issue
Block a user