summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-03-26 22:04:24 +0700
committerhathach <[email protected]>2020-03-26 22:04:24 +0700
commit09262d7f7e7bc462e2badac6caeb03cc57bf6761 (patch)
treedf4456bcd8f0e71798a6ab9b494bead34462e5f5 /examples
parentd74a92bf4596d229a3176fab2f91c45eabff6d3a (diff)
house keeping
Diffstat (limited to 'examples')
-rw-r--r--examples/make.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 5fc596f63..f2a8b979e 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -46,26 +46,24 @@ SRC_C += $(subst $(TOP)/,,$(wildcard $(TOP)/hw/bsp/$(BOARD)/*.c))
# Compiler Flags
CFLAGS += \
+ -fdata-sections \
+ -ffunction-sections \
-fsingle-precision-constant \
-fno-strict-aliasing \
-Wdouble-promotion \
- -Wno-endif-labels \
-Wstrict-prototypes \
-Wall \
-Wextra \
-Werror \
- -Werror-implicit-function-declaration \
-Wfatal-errors \
+ -Werror-implicit-function-declaration \
-Wfloat-equal \
-Wundef \
-Wshadow \
-Wwrite-strings \
-Wsign-compare \
-Wmissing-format-attribute \
- -Wno-deprecated-declarations \
- -Wunreachable-code \
- -ffunction-sections \
- -fdata-sections
+ -Wunreachable-code
# This causes lots of warning with nrf5x build due to nrfx code
# CFLAGS += -Wcast-align