diff --git a/libretro/Makefile b/libretro/Makefile index 75ddfc6c..fffe71c8 100644 --- a/libretro/Makefile +++ b/libretro/Makefile @@ -243,6 +243,7 @@ else CC = gcc TARGET := $(TARGET_NAME)_libretro.dll SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=$(CORE_DIR)/libretro/link.T -Wl,--no-undefined + CFLAGS += -Drandom=rand endif TARGET := $(CORE_DIR)/build/bin/$(TARGET)