From 5c0306a411335207d841543a2846d752c3955af4b23856da08ea149a003fb04d Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 29 Apr 2021 08:37:56 +0000 Subject: [PATCH] - Adjust specs for gcc-PIE to use -pie at link-time even when -fPIE is set (but not -shared and friends). [bsc#1185348] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=102 --- gcc.changes | 6 ++++++ gcc.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc.changes b/gcc.changes index 39e234e..ba58470 100644 --- a/gcc.changes +++ b/gcc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 29 08:36:04 UTC 2021 - Richard Biener + +- Adjust specs for gcc-PIE to use -pie at link-time even when + -fPIE is set (but not -shared and friends). [bsc#1185348] + ------------------------------------------------------------------- Thu Nov 12 11:42:44 UTC 2020 - Richard Biener diff --git a/gcc.spec b/gcc.spec index fb97580..08b61c5 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,7 +1,7 @@ # # spec file for package gcc # -# 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 @@ -486,7 +486,7 @@ dir=${dir%/cc1} mkdir -p $RPM_BUILD_ROOT/$dir cat > $RPM_BUILD_ROOT/$dir/defaults.spec <