Fix FTBFS with GCC 6 (#1307312)

This commit is contained in:
Yaakov Selkowitz 2016-03-15 23:33:01 -05:00
parent abdf18546e
commit 4118a71839

View File

@ -25,7 +25,7 @@
Summary: Specialist tools for ALSA Summary: Specialist tools for ALSA
Name: alsa-tools Name: alsa-tools
Version: 1.1.0 Version: 1.1.0
Release: 2%{?dist} Release: 3%{?dist}
# Checked at least one source file from all the sub-projects contained in # Checked at least one source file from all the sub-projects contained in
# the source tarball and they are consistent GPLv2+ - TJ 2007-11-15 # the source tarball and they are consistent GPLv2+ - TJ 2007-11-15
@ -104,6 +104,9 @@ The following tools are available:
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
%build %build
# Fix narrowing conversions on ARM (#1307312)
CFLAGS="%{optflags} -fsigned-char"
CXXFLAGS="%{optflags} -fsigned-char"
mv seq/sbiload . ; rm -rf seq mv seq/sbiload . ; rm -rf seq
for i in %{?builddirstools:%builddirstools} %{?builddirsfirmw:%builddirsfirmw} for i in %{?builddirstools:%builddirstools} %{?builddirsfirmw:%builddirsfirmw}
do do
@ -235,6 +238,9 @@ install -m 644 %{SOURCE5} %{buildroot}/lib/udev/rules.d
%endif %endif
%changelog %changelog
* Wed Mar 16 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 1.1.0-3
- Fix FTBFS with GCC 6 (#1307312)
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2 * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild