From b61d90716473d74be392d4a97713f2716477cc46 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 12 Feb 2018 16:18:19 -0600 Subject: [PATCH] Flag fixes. --- brltty.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/brltty.spec b/brltty.spec index 015c9e1..80cf81d 100644 --- a/brltty.spec +++ b/brltty.spec @@ -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 - 5.6-2 +- Flag fixes. + * Tue Feb 06 2018 Gwyn Ciesla - 5.6-1 - 5.6