mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-31 01:11:21 +01:00
board/native: add basic debugging compatible optimization
adds -Og to board/native CFLAGS
This commit is contained in:
parent
e768a85f62
commit
4d645a23aa
@ -20,8 +20,9 @@ export CGANNOTATE ?= cg_annotate
|
||||
export GPROF ?= gprof
|
||||
|
||||
# basic cflags:
|
||||
CFLAGS += -Wall -Wextra -pedantic $(CFLAGS_DBG)
|
||||
CFLAGS += -Wall -Wextra -pedantic $(CFLAGS_DBG) $(CFLAGS_OPT)
|
||||
CFLAGS_DBG ?= -g3
|
||||
CFLAGS_OPT ?= -Og
|
||||
|
||||
# default std set to gnu11 if not overwritten by user
|
||||
ifeq (,$(filter -std=%, $(CFLAGS)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user