board/native: undefine FORTIFY_SOURCE to avoid printf replace
printf may be replaced by libc printf_chk if _FORTIFY_SOURCE is defiend. This undefines it
This commit is contained in:
parent
2bd2384bc0
commit
a6bf444489
@ -21,7 +21,9 @@ export GPROF ?= gprof
|
|||||||
|
|
||||||
# basic cflags:
|
# basic cflags:
|
||||||
CFLAGS += -Wall -Wextra -pedantic $(CFLAGS_DBG) $(CFLAGS_OPT)
|
CFLAGS += -Wall -Wextra -pedantic $(CFLAGS_DBG) $(CFLAGS_OPT)
|
||||||
|
CFLAGS += -U_FORTIFY_SOURCE
|
||||||
CFLAGS_DBG ?= -g3
|
CFLAGS_DBG ?= -g3
|
||||||
|
|
||||||
ifneq (,$(filter backtrace,$(USEMODULE)))
|
ifneq (,$(filter backtrace,$(USEMODULE)))
|
||||||
$(warning module backtrace is used, do not omit frame pointers)
|
$(warning module backtrace is used, do not omit frame pointers)
|
||||||
CFLAGS_OPT ?= -Og -fno-omit-frame-pointer
|
CFLAGS_OPT ?= -Og -fno-omit-frame-pointer
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user