Fix the order of addition of CFLAGS

CFLAGS from Makefile.common get overwritten by Makefile.
This breaks libnx as -DLIBRETRO is missing, change the order to fix this
This commit is contained in:
Vladimir Serbinenko 2020-03-08 18:49:31 +01:00
parent 5a86870041
commit 536cb04a7f
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,3 @@
CFLAGS += -Wall -Wno-switch -Wno-parentheses -Wno-unused-variable -Wno-unused-but-set-variable -Wextra -Wno-unused-parameter -Wno-sign-compare -Wmissing-prototypes -DLIBRETRO=1
SOURCES_C := $(CORE_DIR)/access.c $(CORE_DIR)/boot.c $(CORE_DIR)/branch.c \
$(CORE_DIR)/covox.c $(CORE_DIR)/double.c $(CORE_DIR)/ea.c \
$(CORE_DIR)/itab.c \

View File

@ -522,6 +522,8 @@ fpic=
SHARED=
endif
CFLAGS += -Wall -Wno-switch -Wno-parentheses -Wno-unused-variable -Wno-unused-but-set-variable -Wextra -Wno-unused-parameter -Wno-sign-compare -Wmissing-prototypes -DLIBRETRO=1
ifeq ($(DEBUG), 1)
ifneq (,$(findstring msvc,$(platform)))
ifeq ($(STATIC_LINKING),1)