summaryrefslogtreecommitdiffstats
path: root/package/gcc/gcc.mk
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2018-05-29 23:52:55 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-30 21:44:40 +0200
commit91b1fbb766fafe080e0f46f738725c561b74cbbb (patch)
tree88c890d575a8021d04d8c1891b7b77d2cd353bea /package/gcc/gcc.mk
parent0eb91bf1d1a716e2345d68ef4bc18c03f092cf93 (diff)
downloadbuildroot-91b1fbb766fafe080e0f46f738725c561b74cbbb.tar.gz
buildroot-91b1fbb766fafe080e0f46f738725c561b74cbbb.zip
package/gcc: add support for gcc 8.1.0
Remove 0860-cilk-fix-build-without-wchar.patch since cilk has been removed from gcc. Rebase 0900-remove-selftests.patch on gcc 8.1.0 Remove upstream patches 0001-m68k-coldfire-pr68467.patch and 0892-microblaze-Revert.patch. Use bz2 release tarball only for gcc 4.9 since all other version now use xz tarball. Runtime tested on x86_64 with binutils 2.30, gcc 8.1.0, kernel headers 4.14 and glibc 2.27. Buildtime tested with glibc with all supported architectures. Buildtime tested on x86_64 with musl and uClibc-ng Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/gcc/gcc.mk')
-rw-r--r--package/gcc/gcc.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index 0afb06a57e..1ae9b7edd9 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -18,13 +18,13 @@ GCC_SITE = $(call github,openrisc,or1k-gcc,$(GCC_VERSION))
GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
else
GCC_SITE = $(BR2_GNU_MIRROR:/=)/gcc/gcc-$(GCC_VERSION)
-# From version 5.5.0, 6.4.0 and 7.2.0 a bz2 release tarball is not
+# From version 5.5.0, 6.4.0, 7.2.0 and 8.1.0 a bz2 release tarball is not
# provided anymore. Use the xz tarball instead.
-ifeq ($(BR2_GCC_VERSION_5_X)$(BR2_GCC_VERSION_6_X)$(BR2_GCC_VERSION_7_X),y)
-GCC_SOURCE = gcc-$(GCC_VERSION).tar.xz
-else
+ifeq ($(BR2_GCC_VERSION_4_9_X),y)
GCC_SOURCE = gcc-$(GCC_VERSION).tar.bz2
-endif # BR2_GCC_VERSION_6_X
+else
+GCC_SOURCE = gcc-$(GCC_VERSION).tar.xz
+endif
endif
#
OpenPOWER on IntegriCloud