Accepting request 886982 from home:wfrisch:branches:Kernel:kdump
Hardening: Link as PIE (bsc#1185020). OBS-URL: https://build.opensuse.org/request/show/886982 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kexec-tools?expand=0&rev=135
This commit is contained in:
parent
d242ddc4b1
commit
5c9a9e50f3
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 20 12:01:43 UTC 2021 - Wolfgang Frisch <wolfgang.frisch@suse.com>
|
||||||
|
|
||||||
|
- Hardening: Link as PIE (bsc#1185020).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 24 16:54:57 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
Tue Nov 24 16:54:57 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package kexec-tools
|
# spec file for package kexec-tools
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -47,7 +47,7 @@ BuildRequires: zlib-devel
|
|||||||
#!BuildIgnore: gcc-PIE
|
#!BuildIgnore: gcc-PIE
|
||||||
Requires: perl-Bootloader
|
Requires: perl-Bootloader
|
||||||
Requires(post): suse-module-tools
|
Requires(post): suse-module-tools
|
||||||
Requires(postun): suse-module-tools
|
Requires(postun):suse-module-tools
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -77,8 +77,9 @@ the loaded kernel after it panics.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags} -fPIC"
|
||||||
export BUILD_CFLAGS="%{optflags}"
|
export BUILD_CFLAGS="%{optflags}"
|
||||||
|
export LDFLAGS="-pie"
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user