diff --git a/dtc.changes b/dtc.changes index bfd280d..9f1a83e 100644 --- a/dtc.changes +++ b/dtc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Apr 21 10:28:05 UTC 2021 - Matthias Gerstner + +- explicitly pass -pie in CFLAGS, since the build system explicitly passes + -fPIC, which breaks our gcc-PIE profile. This makes all packaged binaries + PIE-executables (bsc#1184122). + ------------------------------------------------------------------- Tue Mar 10 10:03:02 UTC 2020 - Paolo Stivanin diff --git a/dtc.spec b/dtc.spec index 0d239ec..6712c4e 100644 --- a/dtc.spec +++ b/dtc.spec @@ -1,7 +1,7 @@ # # spec file for package dtc # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -73,7 +73,7 @@ Python binding part. %setup -q %build -export EXTRA_CFLAGS="%{optflags}" +export EXTRA_CFLAGS="%{optflags} -pie" %make_build NO_PYTHON=1 cd pylibfdt python3 setup.py build_ext