1
0
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:
Karl Fessel 2021-03-03 21:57:09 +01:00
parent e768a85f62
commit 4d645a23aa

View File

@ -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)))