summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2017-01-18 13:01:48 +0100
committerKalev Lember <klember@redhat.com>2017-01-18 13:01:48 +0100
commit419165ef5ea9f0b9f3400b260f0ca72b31e50a0d (patch)
tree52d1261b9534b93b9469faad52690fdec5144596
parentUpdate to 3.22.7 (diff)
downloadgtk3-classic-build-gtk3-419165ef5ea9f0b9f3400b260f0ca72b31e50a0d.tar.gz
gtk3-classic-build-gtk3-419165ef5ea9f0b9f3400b260f0ca72b31e50a0d.tar.bz2
gtk3-classic-build-gtk3-419165ef5ea9f0b9f3400b260f0ca72b31e50a0d.zip
Build with -fno-strict-aliasing
... in order to reduce the delta with the RHEL gtk3 spec file.
-rw-r--r--gtk3.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk3.spec b/gtk3.spec
index 61c904b..9a44cf4 100644
--- a/gtk3.spec
+++ b/gtk3.spec
@@ -163,6 +163,7 @@ the functionality of the installed %{name} package.
%setup -q -n gtk+-%{version}
%build
+export CFLAGS='-fno-strict-aliasing %optflags'
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
%configure $CONFIGFLAGS \
--enable-xkb \
bgstack15