diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-28 13:00:02 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-28 13:00:02 +0100 |
commit | 4de2fe10b4dde2ea7106ebcdb382b33d6a4acf14 (patch) | |
tree | 80e4893dcf1df35401fd792bca4551a95e9a7b84 | |
parent | 0405b2210d57006dd5ce8a235d39d547dc5b7fde (diff) | |
parent | 6e76f7bc90fcd130db888f8804b8555dc8f3a484 (diff) | |
download | micropython-4de2fe10b4dde2ea7106ebcdb382b33d6a4acf14.tar.gz micropython-4de2fe10b4dde2ea7106ebcdb382b33d6a4acf14.zip |
Merge pull request #629 from dhylands/fix-unix-debug
Fix unix DEBUG=1 builds
-rw-r--r-- | unix/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/Makefile b/unix/Makefile index ffc3391a14..6c89d06579 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -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 |