Merge pull request #9 from sternenseemann/gcc-compilation

makefile: detect prefixed gcc properly
This commit is contained in:
dzaima 2021-10-05 10:40:18 +03:00 committed by GitHub
commit e23dab20da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ single-c:
# compiler setup
CC = clang
ifeq ($(CC),gcc)
ifneq ($(findstring gcc, $(CC)),)
CCFLAGS = -Wno-parentheses
else
CCFLAGS = -Wno-microsoft-anon-tag