Remove unneeded hack to force PIE build

This commit is contained in:
David Ward 2012-04-22 15:20:39 -04:00 committed by Adam Tkac
parent 2d3a5c9048
commit 2f90639ba4

View File

@ -181,8 +181,6 @@ export CXXFLAGS="$RPM_OPT_FLAGS $CPPFLAGS"
%endif
--enable-netlink
for X in Makefile */Makefile ; do perl -pe 's/^COMPILE \= \$\(CC\) /COMPILE = \$(CC) -fPIE /;s/^LDFLAGS = $/LDFLAGS = -pie/' < $X > $X.tmp ; mv $X.tmp $X ; done
make %{?_smp_mflags} MAKEINFO="makeinfo --no-split"
pushd doc