From cf21e7b6a30cb325e1cffa7b0ef757bbdc19b652 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 19 Jan 2024 10:12:59 -0500 Subject: [PATCH] Fix build not respecting distribution compiler flags - Executables are now built as PIE and with other important hardening flags - The debuginfo package is now useful --- adobe-afdko.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adobe-afdko.spec b/adobe-afdko.spec index cb28c4b..0739cda 100644 --- a/adobe-afdko.spec +++ b/adobe-afdko.spec @@ -26,6 +26,7 @@ from PostScript and TrueType font data. %build %set_build_flags +export XFLAGS="${CFLAGS} ${LDFLAGS}" pushd c sh buildalllinux.sh release popd @@ -44,6 +45,8 @@ find ./ -type f -executable -exec install -p -m 0755 "{}" \ %changelog * Thu Jan 22 2024 Benjamin A. Beasley - 3.6.1-10 - Fix a typo in the License expression +- Fix build not respecting distribution compiler flags; this means executables + are now PIE, and the debuginfo package is now useful * Mon Jan 22 2024 Fedora Release Engineering - 3.6.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild