nrf/Makefile: Remove -fstack-usage.

-fstack-usage is not supported by Clang and old GCC versions.
This commit is contained in:
Ayke van Laethem 2018-04-24 16:52:28 +02:00 committed by Damien George
parent 5fdebe62d3
commit a6ae950b75

View File

@ -102,7 +102,6 @@ endif
CFLAGS += $(CFLAGS_MCU_$(MCU_SERIES))
CFLAGS += $(INC) -Wall -Werror -g -ansi -std=gnu99 -nostdlib $(COPT) $(NRF_DEFINES) $(CFLAGS_MOD)
CFLAGS += -fno-strict-aliasing
CFLAGS += -fstack-usage
CFLAGS += -Iboards/$(BOARD)
CFLAGS += -DNRF5_HAL_H='<$(MCU_VARIANT)_hal.h>'
CFLAGS += $(CFLAGS_LTO)