Description: This patch fixes build issue for x86_64 architecture.
It adds -fPIC compile time flag in spec file.
Change-Id: I14d9b4d430fbf1f1266b50a4939d76c82e65e22a
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
Name: iptables
Summary: Tools for managing Linux kernel packet filtering capabilities
Version: 1.6.1
-Release: 1
+Release: 2
Group: System/Network
Source: %{name}-%{version}.tar.gz
URL: http://www.netfilter.org
%build
-export CFLAGS+=" $RPM_OPT_FLAGS -Wall -Werror -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -pie -fno-strict-aliasing -Wno-unused-value"
+export CFLAGS+=" $RPM_OPT_FLAGS -Wall -Werror -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fPIE -pie -fno-strict-aliasing -Wno-unused-value -fPIC"
export LDFLAGS+=" -Wl,-z,relro,--as-needed"
%autogen.sh