spec: Pass -pie via LDFLAGS

Makes the clang build pass
This commit is contained in:
Timm Bäder 2020-11-10 15:17:07 +01:00
parent 61c3711488
commit bf3c413175

View File

@ -94,8 +94,8 @@ tar -xJf %{SOURCE12}
%build
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -Wall -fno-strict-aliasing"
%configure
%{make_build} LDFLAGS="%{?build_ldflags}"
%{make_build} -C ppp-watch LDFLAGS="%{?build_ldflags}"
%{make_build} LDFLAGS="%{?build_ldflags} -pie"
%{make_build} -C ppp-watch LDFLAGS="%{?build_ldflags} -pie"
%install
make INSTROOT=%{buildroot} install install-etcppp