Fixed build on aarch64
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
d49e7cc1f1
commit
40450a34c2
|
@ -0,0 +1,16 @@
|
|||
diff --git a/SConstruct b/SConstruct
|
||||
index 7e02af7..224f1f8 100644
|
||||
--- a/SConstruct
|
||||
+++ b/SConstruct
|
||||
@@ -1069,11 +1069,6 @@ if platform in ['linux']:
|
||||
env.AppendUnique(LIBS=['rt', 'dl', 'm'])
|
||||
|
||||
if compiler in ['gcc', 'clang']:
|
||||
- if not platform in ['android']:
|
||||
- env.Append(CXXFLAGS=[
|
||||
- '-std=c++98',
|
||||
- ])
|
||||
-
|
||||
env.Append(CXXFLAGS=[
|
||||
'-fno-exceptions',
|
||||
])
|
|
@ -31,6 +31,8 @@ BuildRequires: cpputest-devel
|
|||
BuildRequires: sphinx
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-breathe
|
||||
# https://github.com/roc-streaming/roc-toolkit/issues/481
|
||||
Patch0: roc-toolkit-0.1.5-no-explicit-cpp98.patch
|
||||
|
||||
%description
|
||||
Roc is a toolkit for real-time audio streaming over the network.
|
||||
|
@ -69,7 +71,10 @@ scons install --with-openfec-includes=%{_includedir}/openfec --prefix=%{buildroo
|
|||
--libdir=%{buildroot}%{_libdir}
|
||||
|
||||
%check
|
||||
# https://github.com/roc-streaming/roc-toolkit/issues/480
|
||||
%ifnarch i686
|
||||
scons test --with-openfec-includes=%{_includedir}/openfec
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
|
Loading…
Reference in New Issue