# HG changeset patch # User Jan Vrany # Date 1578649023 0 # Node ID 0cfb07f8d03802f191686511cc91c81cc948409f # Parent 2cc4ad92966523b613e10d964ae6a1db6d30c23d Makefiles: do not force using GCC <= 6 The code has been updated to work with GCC up to 9.2.1 so there's no longer a need to use GCC 6.x or lower. Yay! diff -r 2cc4ad929665 -r 0cfb07f8d038 makelib/config-linux-gnu.make --- a/makelib/config-linux-gnu.make Sun Dec 29 08:00:02 2019 +0000 +++ b/makelib/config-linux-gnu.make Fri Jan 10 09:37:03 2020 +0000 @@ -12,22 +12,3 @@ MAKEFILE_EXTENSION=linux-elf SETUP_RULE=setup_linux - -# We need to use at most GCC 6.x, some code may fail to compile -# with GCC 7 due to -Werror (`send.c` for instance). We won't fix -# that for Smalltalk/X 6.x.x, will be fixed only for Smalltalk/X 8.1.x -# series. -# -# Note, that we have to use the trick with `ifeq $(origin CC),...` rather than -# `ifdef` since CC is one of the GNU make implicit variables. series -# -# See https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html -ifeq ($(origin CC),default) - ifneq ($(shell which gcc-6),) - CC = gcc-6 - else ifneq ($(shell which gcc-5),) - CC = gcc-5 - else ifneq ($(shell which gcc-4),) - CC = gcc-4 - endif -endif