Missing PIE compiler flag caused build to fail on non-i686.
Change-Id: I76def0feae139f0ba8b229f10aea2cdbe06cdde1
Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
rm -f src/lib/krb5/krb/deltat.c
cd src
%{?asan:LDFLAGS+=" -ldl -pthread "}
-CFLAGS="$RPM_OPT_FLAGS -I/usr/include/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC -fgnu89-inline -Wl,-pie " \
+CFLAGS="$RPM_OPT_FLAGS -I/usr/include/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC -fgnu89-inline -Wl,-pie -pie" \
./configure \
--host=%{_host} --build=%{_build} \
--prefix=/usr/lib/mit \