From ad250b0ac5d39d177475ea79f8c7378d2b5b6ea4 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 22 Apr 2011 12:47:12 +0200 Subject: [PATCH] compile with -fno-strict-aliasing --- libpcap.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libpcap.spec b/libpcap.spec index cb5c172..7606f7f 100644 --- a/libpcap.spec +++ b/libpcap.spec @@ -58,6 +58,7 @@ sed -i -e 's|-fpic|-fPIC|g' configure %endif %build +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure make %{?_smp_mflags}