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:
Sergei Trofimovich
2020-01-30 09:26:56 +00:00
parent 6706ede2c1
commit afee7f71b7
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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