mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
Change -Og to -O0 in unix-cpy/Makefile; cast to small int in socket.c.
This commit is contained in:
@@ -10,9 +10,9 @@ include ../py/py.mk
|
||||
CFLAGS = -I. -I$(PY_SRC) -Wall -Werror -ansi -std=gnu99 -DUNIX
|
||||
LDFLAGS = -lm
|
||||
|
||||
#Debugging/Optimization
|
||||
# Debugging/Optimization
|
||||
ifdef DEBUG
|
||||
CFLAGS += -Og -ggdb
|
||||
CFLAGS += -O0 -g
|
||||
else
|
||||
CFLAGS += -Os #-DNDEBUG
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user