makelib/config-linux-gnu.make
changeset 285 0cfb07f8d038
parent 246 687c4889e2e6
--- 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