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
This commit is contained in:
parent
0405b2210d
commit
6e76f7bc90
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue