summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/gcc.bst
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2017-07-12 10:45:57 (GMT)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2017-07-12 10:45:57 (GMT)
commit879a306c8c6285e9ef8dcbbba96bb84e62a9654c (patch)
treef3fb68930e733a87fdb0a675561a0d8bd00ca5b6 /elements/gnu-toolchain/gcc.bst
parent4faa52372d4e9422346b15ef696fc8616196950d (diff)
parenta515e4f5fba4eb9d9a417025e62b90b185029d2a (diff)
downloaddefinitions-879a306c8c6285e9ef8dcbbba96bb84e62a9654c.tar.gz
Merge branch 'sam/gnu-toolchain-updates' into 'gnu-toolchain'
Update toolchain and allow cross-building See merge request !9
Diffstat (limited to 'elements/gnu-toolchain/gcc.bst')
-rw-r--r--elements/gnu-toolchain/gcc.bst8
1 files changed, 4 insertions, 4 deletions
diff --git a/elements/gnu-toolchain/gcc.bst b/elements/gnu-toolchain/gcc.bst
index b7b17ae..e9a5483 100644
--- a/elements/gnu-toolchain/gcc.bst
+++ b/elements/gnu-toolchain/gcc.bst
@@ -3,8 +3,8 @@ kind: manual
sources:
- kind: git
url: upstream:gcc-tarball
- track: baserock/gnu-toolchain
- ref: b3c9b176c1f10ebeff5700eb3760e9511f23fa06
+ track: baserock/gcc-7.1.0
+ ref: 3b0dbcfa2e5d12bd80cab1b35f08653d61fe7838
depends:
- filename: gnu-toolchain/stage2.bst
@@ -30,7 +30,7 @@ config:
# 2. Avoid having more than one copy of ZLib in use on the system
# 3. Multilib does not make sense in Baserock.
- |
- case "%{bst-arch}" in
+ case "%{bst-target-arch}" in
armv7lhf) ARCH_FLAGS="--with-arch=armv7-a \
--with-cpu=cortex-a9 \
--with-tune=cortex-a9 \
@@ -50,7 +50,7 @@ config:
build-commands:
- |
- case "%{bst-arch}" in
+ case "%{bst-target-arch}" in
armv5*) sed -i "s/--host=none/--host=armv5/" o/Makefile
sed -i "s/--target=none/--target=armv5/" o/Makefile ;;
armv7*) sed -i "s/--host=none/--host=armv7a/" o/Makefile