Skip to content

Commit 554a75b

Browse files
committed
Merge pull request adafruit#226 from pfalcon/make-debug
unix Makefile: -Og doesn't work (at least) with gcc 4.6 below.
2 parents 5bd56fb + e2febe9 commit 554a75b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

unix/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ LDFLAGS = -lm
1515

1616
#Debugging/Optimization
1717
ifdef DEBUG
18-
CFLAGS += -Og -ggdb
18+
CFLAGS += -O0 -g
1919
else
2020
CFLAGS += -Os #-DNDEBUG
2121
endif

0 commit comments

Comments
 (0)