add -O0 flag for faster development builds
This commit is contained in:
@@ -13,7 +13,8 @@ OBJEXT := o
|
||||
|
||||
ESP_FLAGS := -DESP32 -DSPIDER_DISTRO_MICRO -DSPIDER_OS_NONE -mlongcalls -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti
|
||||
|
||||
CFLAGS := -Wall -std=c++20 -DSPIDER_COMPILING $(ESP_FLAGS)
|
||||
# -O0: no optimizations, faster compilation during development
|
||||
CFLAGS := -Wall -std=c++20 -O0 -DSPIDER_COMPILING $(ESP_FLAGS)
|
||||
LFLAGS := -Wl,--gc-sections -mlongcalls
|
||||
INC := -I../../src/
|
||||
|
||||
|
||||
@@ -16,7 +16,8 @@ OBJEXT := o
|
||||
|
||||
ESP_FLAGS := -DESP32 -DSPIDER_DISTRO_MICRO -DSPIDER_OS_NONE -mlongcalls -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti
|
||||
|
||||
CFLAGS := -Wall -std=c++20 -DSPIDER_COMPILING {dollar}(ESP_FLAGS)
|
||||
# -O0: no optimizations, faster compilation during development
|
||||
CFLAGS := -Wall -std=c++20 -O0 -DSPIDER_COMPILING {dollar}(ESP_FLAGS)
|
||||
LFLAGS := -Wl,--gc-sections -mlongcalls
|
||||
INC := -I../../src/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user