mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-30 03:20:31 +00:00
Fix build.
This commit is contained in:
parent
f48f8405a4
commit
15a37df2db
6
Makefile
6
Makefile
@ -13,7 +13,7 @@ endif
|
|||||||
ifeq ($(platform), unix)
|
ifeq ($(platform), unix)
|
||||||
TARGET := libretro.so
|
TARGET := libretro.so
|
||||||
fpic := -fPIC
|
fpic := -fPIC
|
||||||
SHARED := -shared -Wl,-no-undefined -Wl,--version-script=link.T
|
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
|
||||||
ENDIANNESS_DEFINES := -DLSB_FIRST
|
ENDIANNESS_DEFINES := -DLSB_FIRST
|
||||||
LDFLAGS += -pthread
|
LDFLAGS += -pthread
|
||||||
FLAGS += -pthread -DHAVE_MKDIR
|
FLAGS += -pthread -DHAVE_MKDIR
|
||||||
@ -28,7 +28,7 @@ else
|
|||||||
TARGET := retro.dll
|
TARGET := retro.dll
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CXX = g++
|
CXX = g++
|
||||||
SHARED := -shared -Wl,-no-undefined -Wl,--version-script=link.T
|
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
|
||||||
LDFLAGS += -static-libgcc -static-libstdc++ -lwinmm
|
LDFLAGS += -static-libgcc -static-libstdc++ -lwinmm
|
||||||
ENDIANNESS_DEFINES := -DLSB_FIRST
|
ENDIANNESS_DEFINES := -DLSB_FIRST
|
||||||
FLAGS += -DHAVE__MKDIR
|
FLAGS += -DHAVE__MKDIR
|
||||||
@ -130,7 +130,7 @@ OBJECTS := $(SOURCES:.cpp=.o) $(SOURCES_C:.c=.o)
|
|||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
LDFLAGS += $(fpic) -lz
|
LDFLAGS += $(fpic) -lz $(SHARED)
|
||||||
FLAGS += -ffast-math -msse -msse2 -funroll-loops -O3 -g -Wall $(fpic) -fno-strict-overflow
|
FLAGS += -ffast-math -msse -msse2 -funroll-loops -O3 -g -Wall $(fpic) -fno-strict-overflow
|
||||||
FLAGS += -I. -Imednafen -Imednafen/include -Imednafen/intl
|
FLAGS += -I. -Imednafen -Imednafen/include -Imednafen/intl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user