[brltty] Build with -fno-strict-aliasing
Jaroslav Škarvada
jskarvad at fedoraproject.org
Tue Jan 8 12:52:59 UTC 2013
commit 0589a5fb8d0bd3eb7ceea4e4cfe28d8d0d28b5af
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date: Tue Jan 8 13:52:52 2013 +0100
Build with -fno-strict-aliasing
brltty.spec | 10 +++++++---
1 files 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 <jskarvad at redhat.com> - 4.3-12
+- Build with -fno-strict-aliasing
+
* Wed Dec 19 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 4.3-11
- revbump after jnidir change
More information about the scm-commits
mailing list