mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
eclass/meson: Sync with Gentoo
It's from Gentoo commit 21b3f9ceef131258a721b1b29e52d0f9c4fd2ea4.
This commit is contained in:
parent
64c31e1b80
commit
7912c161cf
@ -1,4 +1,4 @@
|
||||
# Copyright 2017-2023 Gentoo Authors
|
||||
# Copyright 2017-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: meson.eclass
|
||||
@ -43,9 +43,9 @@ _MESON_ECLASS=1
|
||||
|
||||
inherit multiprocessing ninja-utils python-utils-r1 toolchain-funcs
|
||||
|
||||
BDEPEND=">=dev-util/meson-1.2.1
|
||||
BDEPEND=">=dev-build/meson-1.2.1
|
||||
${NINJA_DEPEND}
|
||||
dev-util/meson-format-array
|
||||
dev-build/meson-format-array
|
||||
"
|
||||
|
||||
# @ECLASS_VARIABLE: BUILD_DIR
|
||||
@ -334,6 +334,10 @@ meson_src_configure() {
|
||||
# It's Gentoo policy to not have builds die on blanket -Werror, as it's
|
||||
# an upstream development matter. bug #754279.
|
||||
-Dwerror=false
|
||||
|
||||
# Prevent projects from enabling LTO by default. In Gentoo, LTO is
|
||||
# enabled via setting *FLAGS appropriately.
|
||||
-Db_lto=false
|
||||
)
|
||||
|
||||
if [[ -n ${EMESON_BUILDTYPE} ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user