temporary (?) workaround for ios build

This commit is contained in:
notaz 2013-07-01 00:03:14 +02:00
parent 7fd5d17b31
commit 9aee8770d2
2 changed files with 12 additions and 1 deletions

View file

@ -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 $@