Accepting request 887271 from home:mgerstner:branches:Base:System
- 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). OBS-URL: https://build.opensuse.org/request/show/887271 OBS-URL: https://build.opensuse.org/package/show/Base:System/dtc?expand=0&rev=54
This commit is contained in:
parent
5214a02db7
commit
9f623a527d
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 21 10:28:05 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com>
|
||||||
|
|
||||||
|
- 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 <info@paolostivanin.com>
|
Tue Mar 10 10:03:02 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
4
dtc.spec
4
dtc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dtc
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -73,7 +73,7 @@ Python binding part.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export EXTRA_CFLAGS="%{optflags}"
|
export EXTRA_CFLAGS="%{optflags} -pie"
|
||||||
%make_build NO_PYTHON=1
|
%make_build NO_PYTHON=1
|
||||||
cd pylibfdt
|
cd pylibfdt
|
||||||
python3 setup.py build_ext
|
python3 setup.py build_ext
|
||||||
|
Loading…
x
Reference in New Issue
Block a user