gcc: Use globally set GCC_VERSION in recipes

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
This commit is contained in:
Serge Semin
2018-06-01 01:52:20 +03:00
committed by Christopher Larson
parent 6788664c5c
commit 2332707bad
5 changed files with 0 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
SUMMARY = "The GNU Compiler Collection"
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
GCC_VERSION := "${@external_run(d, 'gcc', '-dumpversion').rstrip()}"
PV = "${GCC_VERSION}"
inherit external-toolchain

View File

@@ -1,4 +1,3 @@
GCC_VERSION := "${@external_run(d, 'gcc', '-dumpversion').rstrip()}"
PV = "${GCC_VERSION}"
BINV = "${GCC_VERSION}"

View File

@@ -1,4 +1,3 @@
GCC_VERSION := "${@external_run(d, 'gcc', '-dumpversion').rstrip()}"
PV = "${GCC_VERSION}"
BINV = "${GCC_VERSION}"

View File

@@ -2,7 +2,6 @@ SUMMARY = "The GNU Compiler Collection - libgcc"
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
DEPENDS += "virtual/${TARGET_PREFIX}binutils"
GCC_VERSION := "${@external_run(d, 'gcc', '-dumpversion').rstrip()}"
PV = "${GCC_VERSION}"
inherit external-toolchain

View File

@@ -1,7 +1,6 @@
SUMMARY = "The GNU Compiler Collection - libgfortran"
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
GCC_VERSION := "${@external_run(d, 'gcc', '-dumpversion').rstrip()}"
PV = "${GCC_VERSION}"
inherit external-toolchain