Truly truly fix #249, fix #251

This commit is contained in:
Lior Halphon 2020-04-24 21:06:44 +03:00
parent 198942b273
commit 8ac029d3fe
1 changed files with 3 additions and 3 deletions

View File

@ -87,11 +87,11 @@ ifeq ($(PLATFORM),Darwin)
OPEN_DIALOG = OpenDialog/cocoa.m
endif
# This must come first because GCC is special
CFLAGS += -Werror=partial-availability
# These must come before the -Wno- flags
CFLAGS += -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option
CFLAGS += -Werror=partial-availability -Wno-nonnull -Wno-unused-result -Wno-strict-aliasing -Wno-multichar -Wno-int-in-bool-context
CFLAGS += -Wno-nonnull -Wno-unused-result -Wno-strict-aliasing -Wno-multichar -Wno-int-in-bool-context
CFLAGS += -std=gnu11 -D_GNU_SOURCE -DVERSION="$(VERSION)" -I. -D_USE_MATH_DEFINES
ifeq (,$(PKG_CONFIG))