Flag fixes.

This commit is contained in:
Gwyn Ciesla 2018-02-12 16:18:19 -06:00
parent 89acc4a854
commit b61d907164

View File

@ -22,7 +22,7 @@
Name: brltty
Version: %{pkg_version}
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
URL: http://mielke.cc/brltty/
Source0: http://mielke.cc/brltty/archive/%{name}-%{version}.tar.xz
@ -208,8 +208,8 @@ for i in -I/usr/lib/jvm/java/include{,/linux}; do
done
export CPPFLAGS="$java_inc"
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
export CFLAGS="%{optflags} -fno-strict-aliasing $LDFLAGS"
export CXXFLAGS="%{optflags} -fno-strict-aliasing $LDFLAGS"
# there is no curses packages in BuildRequires, so the package builds
# without them in mock; let's express this decision explicitly
@ -229,14 +229,13 @@ export PYTHONCOERCECLOCALE=0
# First build everything with Python 2 support
%configure $configure_opts PYTHON=%{__python2}
# Parallel build seems broken, thus disabling it
make
make %{?_smp_mflags}
%if 0%{?with_python3}
# ... and then do it again for the Python 3 module
pushd %{py3dir}
%configure $configure_opts PYTHON=%{__python3}
# Parallel build seems broken, thus disabling it
make
make %{?_smp_mflags}
popd
%endif
@ -420,6 +419,9 @@ fi
%endif
%changelog
* Mon Feb 12 2018 Gwyn Ciesla <limburgher@gmail.com> - 5.6-2
- Flag fixes.
* Tue Feb 06 2018 Gwyn Ciesla <limburgher@gmail.com> - 5.6-1
- 5.6