]> granicus.if.org Git - nethack/commitdiff
another linux.2020 tweak
authornhmall <nhmall@nethack.org>
Tue, 11 Aug 2020 01:39:00 +0000 (21:39 -0400)
committernhmall <nhmall@nethack.org>
Tue, 11 Aug 2020 01:39:00 +0000 (21:39 -0400)
Leave CC alone; we've already determined whether it invoked gcc or clang

sys/unix/hints/linux.2020

index d13cd9b580b087cad04246b02fdec6f3b4f0f403..96db2412a16ab6daf6ad3a965c54bc3e169e3209 100755 (executable)
@@ -119,10 +119,8 @@ endif
 # compiler detection
 CCISCLANG := $(shell echo `$(CC) --version` | grep clang)
 ifeq "$(CCISCLANG)" ""
-CC=gcc
 CXX=g++ -std=gnu++11
 else
-CC=clang
 CXX=clang++ -std=gnu++11
 endif