Fix DEBUG=1 builds

Without this fix, I get the following error:

CC gccollect.c
gccollect.c: In function ‘gc_helper_get_regs’:
gccollect.c:63:1: error: bp cannot be used in asm here
pull/629/head
Dave Hylands 2014-05-26 16:28:06 -07:00
rodzic 0405b2210d
commit 6e76f7bc90
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -71,6 +71,10 @@ SRC_C = \
modos.c \
$(SRC_MOD)
# Without -fomit-frame-pointer, DEBUG builds fail since the code tries
# to manipulate the frame pointer register
$(BUILD)/gccollect.o: CFLAGS += -fomit-frame-pointer
ifeq ($(UNAME_S),Darwin)
# Must be the last file in list of sources
SRC_C += seg_helpers.c