real gcc gnumakefile fix

This commit is contained in:
vanhauser-thc
2023-05-23 18:48:03 +02:00
parent eeed38c5f8
commit b10a091408

View File

@ -101,8 +101,8 @@ else
endif
COMPILER_TYPE=$(shell $(CC) --version|grep "Free Software Foundation")
ifneq ($(COMPILER_TYPE), "")
# $(info gcc is being used)
ifneq "$(COMPILER_TYPE)" ""
#$(info gcc is being used)
CFLAGS_OPT += -Wno-error=format-truncation -Wno-format-truncation
endif