From ab228d6a5d6b563ace937e7dac7c10d784dc3661 Mon Sep 17 00:00:00 2001 From: Carles Tubio Date: Wed, 18 Sep 2024 06:07:38 +0000 Subject: [PATCH] Updated minimum gcc version. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ████ ███ To request new features or in case this commit breaks something for you, ████ ███ please, create a new github issue with all possible information for me, ▓███▀█▄ but never share your API Keys! ▒▓██ ███ ░▒▓█ ███ Signed-off-by: Carles Tubio _________________________________________ / Hello, WORLD! \ | | \ pssst.. 1.00000000 BTC = 54183.41 EUR. / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d628ed154..ee2eb42bc 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ KBUILD := build-$(KHOST) KHOME := $(if ${SYSTEMROOT},$(word 1,$(subst :, ,${SYSTEMROOT})):/,$(if \ $(findstring $(CHOST),$(lastword $(CARCH))),C:/,/var/lib/))K -ERR = *** K require g++ v12 or greater, but it was not found. +ERR = *** K require g++ v10 or greater, but it was not found. HINT := consider a symlink at /usr/bin/$(CHOST)-g++ pointing to your g++ executable STEP = $(shell tput setaf 2;tput setab 0)Building $(1)..$(shell tput sgr0) SUDO = $(shell test -n "`command -v sudo`" && echo sudo) @@ -127,7 +127,7 @@ clean check lib: ifdef KALL unset KALL $(foreach chost,$(CARCH),&& $(MAKE) $@ CHOST=$(chost)) else - $(if $(shell ver="`$(CHOST)-g++ -dumpversion | cut -d'-' -f1`" && test $${ver%%.*} -lt 12 && echo 1),$(warning $(ERR));$(error $(HINT))) + $(if $(shell ver="`$(CHOST)-g++ -dumpversion | cut -d'-' -f1`" && test $${ver%%.*} -lt 10 && echo 1),$(warning $(ERR));$(error $(HINT))) @$(MAKE) -C src/lib $@ CHOST=$(CHOST) KHOST=$(KHOST) KHOME=$(KHOME) endif @@ -155,7 +155,7 @@ ifdef KALL unset KALL $(foreach chost,$(CARCH),&& $(MAKE) $@ CHOST=$(chost)) else $(info $(call STEP,$(KSRC) $@ $(CHOST))) - $(if $(shell ver="`$(CHOST)-g++ -dumpversion | cut -d'-' -f1`" && test $${ver%%.*} -lt 12 && echo 1),$(warning $(ERR));$(error $(HINT))) + $(if $(shell ver="`$(CHOST)-g++ -dumpversion | cut -d'-' -f1`" && test $${ver%%.*} -lt 10 && echo 1),$(warning $(ERR));$(error $(HINT))) @$(CHOST)-g++ --version @mkdir -p $(KBUILD)/bin $(MAKE) $(if $(findstring darwin,$(CHOST)),Darwin,$(if $(findstring mingw32,$(CHOST)),Win32,$(shell uname -s))) CHOST=$(CHOST)