Commit 6e76f7bc authored by Dave Hylands's avatar Dave Hylands
Browse files

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
parent 0405b221
......@@ -71,6 +71,10 @@ SRC_C = \
modos.c \
# 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment