dev-util/strace: set up default build settings #602192

This commit is contained in:
Mike Frysinger
2016-12-24 03:49:05 -05:00
parent 7031b64baa
commit 2201dbb7de
4 changed files with 36 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
EAPI="5"
inherit flag-o-matic eutils
inherit flag-o-matic eutils toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://git.code.sf.net/p/strace/code"
@@ -48,6 +48,14 @@ src_prepare() {
}
src_configure() {
# Set up the default build settings, and then use the naems strace expects.
tc-export_build_env BUILD_{CC,CPP}
local v bv
for v in CC CPP {C,CPP,LD}FLAGS ; do
bv="BUILD_${v}"
export "${v}_FOR_BUILD=${!bv}"
done
econf $(use_with unwind libunwind)
}

View File

@@ -3,7 +3,7 @@
EAPI="5"
inherit flag-o-matic eutils
inherit flag-o-matic eutils toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://git.code.sf.net/p/strace/code"
@@ -48,6 +48,14 @@ src_prepare() {
}
src_configure() {
# Set up the default build settings, and then use the naems strace expects.
tc-export_build_env BUILD_{CC,CPP}
local v bv
for v in CC CPP {C,CPP,LD}FLAGS ; do
bv="BUILD_${v}"
export "${v}_FOR_BUILD=${!bv}"
done
econf $(use_with unwind libunwind)
}

View File

@@ -3,7 +3,7 @@
EAPI="5"
inherit flag-o-matic eutils
inherit flag-o-matic eutils toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://git.code.sf.net/p/strace/code"
@@ -48,6 +48,14 @@ src_prepare() {
}
src_configure() {
# Set up the default build settings, and then use the naems strace expects.
tc-export_build_env BUILD_{CC,CPP}
local v bv
for v in CC CPP {C,CPP,LD}FLAGS ; do
bv="BUILD_${v}"
export "${v}_FOR_BUILD=${!bv}"
done
econf $(use_with unwind libunwind)
}

View File

@@ -3,7 +3,7 @@
EAPI="5"
inherit flag-o-matic eutils
inherit flag-o-matic eutils toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://git.code.sf.net/p/strace/code"
@@ -48,6 +48,14 @@ src_prepare() {
}
src_configure() {
# Set up the default build settings, and then use the naems strace expects.
tc-export_build_env BUILD_{CC,CPP}
local v bv
for v in CC CPP {C,CPP,LD}FLAGS ; do
bv="BUILD_${v}"
export "${v}_FOR_BUILD=${!bv}"
done
econf $(use_with unwind libunwind)
}