spec: Pass -pie via LDFLAGS
This makes the clang build succeed.
This commit is contained in:
parent
9cc177f438
commit
77c33a5523
@ -33,7 +33,7 @@ appears on the bus.
|
||||
%patch1 -p1 -b .ldflags
|
||||
|
||||
%build
|
||||
%{make_build} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
||||
%{make_build} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS -pie"
|
||||
|
||||
%install
|
||||
mkdir -p -m 755 %{buildroot}/sbin
|
||||
|
Loading…
Reference in New Issue
Block a user