From 4304f26f2647db561a1273698fb170b7e460d464 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Tue, 1 Jun 2010 11:10:45 +0000 Subject: [PATCH] use -fno-strict-aliasing --- dovecot.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dovecot.spec b/dovecot.spec index 58757c9..c150a47 100644 --- a/dovecot.spec +++ b/dovecot.spec @@ -122,6 +122,8 @@ libtoolize --copy --force autoconf --force autoheader --force automake --add-missing --copy --force-missing +#required for fdpass.c line 125,190: dereferencing type-punned pointer will break strict-aliasing rules +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure \ INSTALL_DATA="install -c -p -m644" \ --docdir=%{_docdir}/%{name}-%{version} \