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:
Karl Fessel 2021-03-12 18:23:13 +01:00
parent 2bd2384bc0
commit a6bf444489

View File

@ -21,7 +21,9 @@ export GPROF ?= gprof
# basic cflags:
CFLAGS += -Wall -Wextra -pedantic $(CFLAGS_DBG) $(CFLAGS_OPT)
CFLAGS += -U_FORTIFY_SOURCE
CFLAGS_DBG ?= -g3
ifneq (,$(filter backtrace,$(USEMODULE)))
$(warning module backtrace is used, do not omit frame pointers)
CFLAGS_OPT ?= -Og -fno-omit-frame-pointer