From d8eb6c7074bebe9022db7b6748f25ad565313171 Mon Sep 17 00:00:00 2001 From: BearOso Date: Mon, 13 Mar 2023 16:47:08 -0500 Subject: [PATCH] libretro: Fix CFLAGS including CXXFLAGS. --- libretro/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libretro/Makefile b/libretro/Makefile index 77aa6e22..ba52864b 100644 --- a/libretro/Makefile +++ b/libretro/Makefile @@ -610,7 +610,8 @@ endif CXXFLAGS += $(CODE_DEFINES) $(WARNINGS_DEFINES) $(fpic) 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 CXXFLAGS += -DHAVE_STDINT_H ifeq (,$(findstring msvc,$(platform)))