Skip to content

Commit

Permalink
sys-libs/glibc: add explicit filter-lto post-strip-flags change
Browse files Browse the repository at this point in the history
See e6dd349.

Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed May 7, 2023
1 parent ed1ee24 commit 1db5932
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sys-libs/glibc/glibc-2.19-r2.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand Down Expand Up @@ -335,6 +335,7 @@ setup_flags() {
# problems as possible.
strip-flags
strip-unsupported-flags
filter-lto
filter-flags -m32 -m64 '-mabi=*'

# glibc aborts if rpath is set by LDFLAGS
Expand Down
1 change: 1 addition & 0 deletions sys-libs/glibc/glibc-2.31-r7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ setup_flags() {
# relating to failed builds, we strip most CFLAGS out to ensure as few
# problems as possible.
strip-flags
filter-lto
# Lock glibc at -O2; we want to be conservative here.
filter-flags '-O?'
append-flags -O2
Expand Down
1 change: 1 addition & 0 deletions sys-libs/glibc/glibc-2.32-r8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ setup_flags() {
# relating to failed builds, we strip most CFLAGS out to ensure as few
# problems as possible.
strip-flags
filter-lto
# Lock glibc at -O2; we want to be conservative here.
filter-flags '-O?'
append-flags -O2
Expand Down
1 change: 1 addition & 0 deletions sys-libs/glibc/glibc-2.33-r14.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ setup_flags() {
# relating to failed builds, we strip most CFLAGS out to ensure as few
# problems as possible.
strip-flags
filter-lto
# Lock glibc at -O2; we want to be conservative here.
filter-flags '-O?'
append-flags -O2
Expand Down
1 change: 1 addition & 0 deletions sys-libs/glibc/glibc-2.34-r14.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ setup_flags() {
# relating to failed builds, we strip most CFLAGS out to ensure as few
# problems as possible.
strip-flags
filter-lto
# Lock glibc at -O2; we want to be conservative here.
filter-flags '-O?'
append-flags -O2
Expand Down
1 change: 1 addition & 0 deletions sys-libs/glibc/glibc-2.35-r11.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ setup_flags() {
# relating to failed builds, we strip most CFLAGS out to ensure as few
# problems as possible.
strip-flags
filter-lto
# Lock glibc at -O2; we want to be conservative here.
filter-flags '-O?'
append-flags -O2
Expand Down
1 change: 1 addition & 0 deletions sys-libs/glibc/glibc-2.36-r7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ setup_flags() {
# relating to failed builds, we strip most CFLAGS out to ensure as few
# problems as possible.
strip-flags
filter-lto
# Lock glibc at -O2; we want to be conservative here.
filter-flags '-O?'
append-flags -O2
Expand Down
1 change: 1 addition & 0 deletions sys-libs/glibc/glibc-2.36-r8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ setup_flags() {
# relating to failed builds, we strip most CFLAGS out to ensure as few
# problems as possible.
strip-flags
filter-lto
# Lock glibc at -O2; we want to be conservative here.
filter-flags '-O?'
append-flags -O2
Expand Down
1 change: 1 addition & 0 deletions sys-libs/glibc/glibc-2.37-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ setup_flags() {
# relating to failed builds, we strip most CFLAGS out to ensure as few
# problems as possible.
strip-flags
filter-lto
# Lock glibc at -O2; we want to be conservative here.
filter-flags '-O?'
append-flags -O2
Expand Down
1 change: 1 addition & 0 deletions sys-libs/glibc/glibc-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ setup_flags() {
# relating to failed builds, we strip most CFLAGS out to ensure as few
# problems as possible.
strip-flags
filter-lto
# Lock glibc at -O2; we want to be conservative here.
filter-flags '-O?'
append-flags -O2
Expand Down

0 comments on commit 1db5932

Please sign in to comment.