Merge pull request #629 from dhylands/fix-unix-debug

Fix unix DEBUG=1 builds
This commit is contained in:
Damien George 2014-05-28 13:00:02 +01:00
commit 4de2fe10b4
1 changed files with 4 additions and 0 deletions

View File

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