libretro: Fix CFLAGS including CXXFLAGS.

This commit is contained in:
BearOso 2023-03-13 16:47:08 -05:00
parent 82d2ceb183
commit d8eb6c7074
1 changed files with 2 additions and 1 deletions

View File

@ -610,7 +610,8 @@ endif
CXXFLAGS += $(CODE_DEFINES) $(WARNINGS_DEFINES) $(fpic) CXXFLAGS += $(CODE_DEFINES) $(WARNINGS_DEFINES) $(fpic)
CXXFLAGS += -DRIGHTSHIFT_IS_SAR -D__LIBRETRO__ -DALLOW_CPU_OVERCLOCK CXXFLAGS += -DRIGHTSHIFT_IS_SAR -D__LIBRETRO__ -DALLOW_CPU_OVERCLOCK
CFLAGS := $(CXXFLAGS) CFLAGS += $(CODE_DEFINES) $(WARNINGS_DEFINES) $(fpic)
CFLAGS += -DRIGHTSHIFT_IS_SAR -D__LIBRETRO__ -DALLOW_CPU_OVERCLOCK
CFLAGS += -DHAVE_STDINT_H CFLAGS += -DHAVE_STDINT_H
CXXFLAGS += -DHAVE_STDINT_H CXXFLAGS += -DHAVE_STDINT_H
ifeq (,$(findstring msvc,$(platform))) ifeq (,$(findstring msvc,$(platform)))