mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-04-02 10:13:52 +02:00
temporary (?) workaround for ios build
This commit is contained in:
7
Makefile
7
Makefile
@@ -124,13 +124,18 @@ include platform/common/common.mak
|
||||
OBJS += $(OBJS_COMMON)
|
||||
CFLAGS += $(addprefix -D,$(DEFINES))
|
||||
|
||||
ifneq ($(findstring gcc,$(CC)),)
|
||||
LDFLAGS += -Wl,-Map=$(TARGET).map
|
||||
endif
|
||||
|
||||
|
||||
target_: $(TARGET)
|
||||
|
||||
clean:
|
||||
$(RM) $(TARGET) $(OBJS)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS) $(LDLIBS) -Wl,-Map=$(TARGET).map
|
||||
$(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS) $(LDLIBS)
|
||||
|
||||
pprof: platform/linux/pprof.c
|
||||
$(CC) -O2 -ggdb -DPPROF -DPPROF_TOOL -I../../ -I. $^ -o $@
|
||||
|
||||
@@ -128,3 +128,9 @@ PLATFORM = libretro
|
||||
NO_CONFIG_MAK = yes
|
||||
|
||||
include Makefile
|
||||
|
||||
# workaround another breakage on;
|
||||
# Apple LLVM version 4.2 (clang-425.0.27) (based on LLVM 3.2svn)
|
||||
ifeq ($(platform), ios)
|
||||
pico/memory.o: CFLAGS += -O0
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user