From 0589a5fb8d0bd3eb7ceea4e4cfe28d8d0d28b5af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 8 Jan 2013 13:52:52 +0100 Subject: [PATCH] Build with -fno-strict-aliasing --- brltty.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/brltty.spec b/brltty.spec index 8dc3eff..96dbdfb 100644 --- a/brltty.spec +++ b/brltty.spec @@ -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 - 4.3-12 +- Build with -fno-strict-aliasing + * Wed Dec 19 2012 Stanislav Ochotnicky - 4.3-11 - revbump after jnidir change