Merge pull request #6713 from orbea/make

Makefile: Try to fix logic.
This commit is contained in:
Twinaphex 2018-05-04 01:16:35 +02:00 committed by GitHub
commit 66dfae2234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,9 @@ ifeq ($(HAVE_CXX), 1)
endif
else
LINK = $(CC)
endif
ifneq ($(CXX_BUILD), 1)
ifneq ($(GNU90_BUILD), 1)
ifneq ($(findstring icc,$(CC)),)
CFLAGS += -std=c99 -D_GNU_SOURCE