mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emulation/simh: drop deprecated USE_NETWORK=1
Follow the suggestion from https://github.com/simh/simh/issues/15 to drop USE_NETWORK=1. Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -42,7 +42,7 @@ src_compile() {
|
||||
export LDFLAGS_O="${LDFLAGS}"
|
||||
export CFLAGS_O="${CFLAGS}"
|
||||
|
||||
local my_makeopts="USE_NETWORK=1"
|
||||
local my_makeopts=""
|
||||
if tc-is-gcc && ver_test $(gcc-version) -lt 4.6 ; then
|
||||
my_makeopts+=" NO_LTO=1"
|
||||
fi
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
@@ -40,7 +40,7 @@ src_compile() {
|
||||
export LDFLAGS_O="${LDFLAGS}"
|
||||
export CFLAGS_O="${CFLAGS}"
|
||||
|
||||
local my_makeopts="USE_NETWORK=1"
|
||||
local my_makeopts=""
|
||||
if [ "$(gcc-major-version)" -le "4" -a "$(gcc-minor-version)" -lt "6" ] ; then
|
||||
my_makeopts+=" NO_LTO=1"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user