Build with -fno-strict-aliasing

This commit is contained in:
Jaroslav Škarvada 2013-01-08 13:52:52 +01:00
parent 019dbcf3ab
commit 0589a5fb8d

View File

@ -16,7 +16,7 @@
Name: brltty
Version: %{pkg_version}
Release: 11%{?dist}
Release: 12%{?dist}
License: GPLv2+
Group: System Environment/Daemons
URL: http://mielke.cc/brltty/
@ -166,7 +166,8 @@ for i in -I/usr/lib/jvm/java/include{,/linux}; do
done
# there is no curses packages in BuildRequires, so the package builds
# without them in mock; let's express this decision explicitly
%configure CPPFLAGS="$java_inc" --disable-stripping --without-curses \
%configure CPPFLAGS="$java_inc" CFLAGS="%{optflags} -fno-strict-aliasing" \
CXXFLAGS="%{optflags} -fno-strict-aliasing" --disable-stripping --without-curses \
%if %{with_speech_dispatcher}
--with-speechd=%{_prefix} \
%endif
@ -174,7 +175,7 @@ done
JAVA_JAR_DIR=%{_jnidir} \
JAVA_JNI_DIR=%{_libdir}/brltty \
JAVA_JNI=yes
make %{?_smp_mflags}
@ -319,6 +320,9 @@ exit 0
%endif
%changelog
* Tue Jan 8 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 4.3-12
- Build with -fno-strict-aliasing
* Wed Dec 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.3-11
- revbump after jnidir change