From 1b8a7090fa530bd23d629d68f828905bcda8d5f7 Mon Sep 17 00:00:00 2001 From: Timm Bäder Date: Mar 30 2020 14:30:46 +0000 Subject: spec: Pass -pie separately to RPM_LD_FLAGS Clang does not support setting it from the -specs file --- diff --git a/ttmkfdir.spec b/ttmkfdir.spec index de20405..06b3ab4 100644 --- a/ttmkfdir.spec +++ b/ttmkfdir.spec @@ -1,7 +1,7 @@ Summary: Utility to create fonts.scale files for truetype fonts Name: ttmkfdir Version: 3.0.9 -Release: 59%{?dist} +Release: 60%{?dist} # Only licensing attribution is in README, no version. License: LGPLv2+ # This is a Red Hat maintained package which is specific to @@ -37,7 +37,7 @@ by the font server. %autosetup -p1 %build -%{make_build} OPTFLAGS="$RPM_OPT_FLAGS" +%{make_build} OPTFLAGS="$RPM_OPT_FLAGS" RPM_LD_FLAGS="$RPM_LD_FLAGS -pie" %install %{make_install} PREFIX="%{_prefix}" @@ -50,6 +50,9 @@ cp -p %{SOURCE10} %{buildroot}%{_mandir}/man1/ %{_mandir}/man1/ttmkfdir.1* %changelog +* Mon Mar 30 2020 Timm Baeder - 3.0.9-60 +- Pass -pie separately to %%{make_build} + * Mon Mar 16 2020 Tom Stellard - 3.0.9-59 - Use make_build and make_install macros - https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make