spec: Pass -pie via LDFLAGS

Makes the build pass with clang
This commit is contained in:
Timm Bäder 2020-11-17 15:50:11 +01:00
parent 218e2a3122
commit df701ef70b
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ popd
%make_build drv
CXXFLAGS="%{optflags} -fno-strict-aliasing" \
%make_build all V=1 DRV_ONLY=1
%make_build all V=1 DRV_ONLY=1 LDFLAGS="%{build_ldflags} -pie"
%install
%make_install DRV_ONLY=1 CUPSDRV=%{_datadir}/cups/drv/splix