net-misc/sslh: build with LFS

Closes: https://bugs.gentoo.org/911261
Thanks-to: Allen Webb <allenwebb@google.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-07-27 12:45:03 +01:00
parent 04a3346326
commit bcc3644e26
2 changed files with 6 additions and 2 deletions

View File

@@ -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="7"
@@ -39,6 +39,8 @@ src_prepare() {
}
src_compile() {
append-lfs-flags
# On older versions of GCC, the default gnu89 variant
# will reject within-for-loop initializers, bug #595426
# Furthermore, we need to use the gnu variant (gnu99) instead

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -39,6 +39,8 @@ src_prepare() {
}
src_compile() {
append-lfs-flags
# On older versions of GCC, the default gnu89 variant
# will reject within-for-loop initializers, bug #595426
# Furthermore, we need to use the gnu variant (gnu99) instead