mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 09:01:55 +02:00
dev-libs/cyrus-sasl: Sync with Gentoo
It's from Gentoo commit 9f10d53dc71950701eb206c84c62019ac0fe44ca.
This commit is contained in:
parent
53f5441d8c
commit
5b024b0198
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -60,7 +60,12 @@ src_prepare() {
|
|||||||
src_configure() {
|
src_configure() {
|
||||||
export CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
export CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||||
|
|
||||||
append-flags -fno-strict-aliasing
|
# -Werror=lto-type-mismatch
|
||||||
|
# https://bugs.gentoo.org/894684
|
||||||
|
# https://github.com/cyrusimap/cyrus-sasl/pull/771
|
||||||
|
#
|
||||||
|
# Fixed upstream in git master but not released.
|
||||||
|
use srp && filter-lto
|
||||||
|
|
||||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||||
# getpassphrase is defined in /usr/include/stdlib.h
|
# getpassphrase is defined in /usr/include/stdlib.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user