From 77c33a552311b8048695423b8ede7d97cbced086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 3 Nov 2020 16:14:29 +0100 Subject: [PATCH] spec: Pass -pie via LDFLAGS This makes the clang build succeed. --- fxload.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fxload.spec b/fxload.spec index 09bb9ee..3b1ac67 100644 --- a/fxload.spec +++ b/fxload.spec @@ -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