summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-09-29 01:12:38 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-10-02 12:58:36 +0200
commit87ce3429acc0d9fde5773b82e04325189f3aeb42 (patch)
treead6dac36e1b28e4bbec1c0690de1b664f6905004 /examples
parentf0653ccdb084ad7bb389ad6859474c117893e5a9 (diff)
downloadrebel-87ce3429acc0d9fde5773b82e04325189f3aeb42.tar
rebel-87ce3429acc0d9fde5773b82e04325189f3aeb42.zip
examples: remove redundant environment variables
Diffstat (limited to 'examples')
-rw-r--r--examples/e2fsprogs.yml7
-rw-r--r--examples/glibc.yml8
2 files changed, 1 insertions, 14 deletions
diff --git a/examples/e2fsprogs.yml b/examples/e2fsprogs.yml
index 1069bb8..b4e2441 100644
--- a/examples/e2fsprogs.yml
+++ b/examples/e2fsprogs.yml
@@ -20,13 +20,6 @@ tasks:
- recipe: 'toolchain'
task: 'depends'
run: |
- export CC={{cross_compile}}gcc
- export CXX={{cross_compile}}g++
- export AR={{cross_compile}}ar
- export NM={{cross_compile}}nm
- export RANLIB={{cross_compile}}ranlib
- export STRIP={{cross_compile}}strip
-
mkdir {{pn}}-build
cd {{pn}}-build
../{{pn}}-{{pv}}/configure \
diff --git a/examples/glibc.yml b/examples/glibc.yml
index ad189b3..396be1f 100644
--- a/examples/glibc.yml
+++ b/examples/glibc.yml
@@ -22,13 +22,7 @@ tasks:
- recipe: 'linux-uapi-headers'
task: 'install'
run: |
- export BUILD_CC=gcc
- export CC={{cross_compile}}gcc
- export CXX={{cross_compile}}g++
- export AR={{cross_compile}}ar
- export NM={{cross_compile}}nm
- export RANLIB={{cross_compile}}ranlib
- export READELF={{cross_compile}}readelf
+ export BUILD_CC="$CC_FOR_BUILD"
mkdir {{pn}}-build
cd {{pn}}-build