spec: Pass -pie via LDFLAGS

This makes the clang build succeed.
This commit is contained in:
Timm Bäder 2020-11-03 16:14:29 +01:00
parent 9cc177f438
commit 77c33a5523

View File

@ -33,7 +33,7 @@ appears on the bus.
%patch1 -p1 -b .ldflags %patch1 -p1 -b .ldflags
%build %build
%{make_build} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %{make_build} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS -pie"
%install %install
mkdir -p -m 755 %{buildroot}/sbin mkdir -p -m 755 %{buildroot}/sbin