summaryrefslogtreecommitdiff
path: root/elements/gnu-toolchain/stage1-gcc.bst
diff options
context:
space:
mode:
Diffstat (limited to 'elements/gnu-toolchain/stage1-gcc.bst')
-rw-r--r--elements/gnu-toolchain/stage1-gcc.bst9
1 files changed, 5 insertions, 4 deletions
diff --git a/elements/gnu-toolchain/stage1-gcc.bst b/elements/gnu-toolchain/stage1-gcc.bst
index 1785184..bcf30bc 100644
--- a/elements/gnu-toolchain/stage1-gcc.bst
+++ b/elements/gnu-toolchain/stage1-gcc.bst
@@ -3,8 +3,8 @@ kind: autotools
sources:
- kind: git
url: upstream:gcc-tarball
- track: baserock/gnu-toolchain
- ref: b3c9b176c1f10ebeff5700eb3760e9511f23fa06
+ track: baserock/gcc-7.1.0
+ ref: 3b0dbcfa2e5d12bd80cab1b35f08653d61fe7838
depends:
- gnu-toolchain/base-platform.bst
@@ -43,7 +43,7 @@ config:
# without an existing libc, and generally try to keep this build as
# simple as possible.
- |
- case "%{bst-arch}" in
+ case "%{bst-target-arch}" in
armv7lhf) ARCH_FLAGS="--with-arch=armv7-a \
--with-cpu=cortex-a9 \
--with-tune=cortex-a9 \
@@ -72,6 +72,7 @@ config:
`# [5]` --disable-libatomic \
`# [5]` --disable-libgomp \
`# [5]` --disable-libitm \
+ `# [5]` --disable-libmpx \
`# [5]` --disable-libquadmath \
`# [5]` --disable-libsanitizer \
`# [5]` --disable-libssp \
@@ -88,7 +89,7 @@ config:
# code results on an undefined reference to `__gmpn_invert_limb' in
# ARMv7. Fix the invocation of GMP's configure script so that GMP can
# use the machine-dependent code.
- 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