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