diff options
| author | Ha Thach <[email protected]> | 2020-05-18 13:21:37 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-18 13:21:37 +0700 |
| commit | 76bf96bcb0c12ba241ee4ecc175afb257e550d19 (patch) | |
| tree | 6be8654ae1d2fd78e257783b2535455df2597d9c /examples/make.mk | |
| parent | 17869f0999d275ec6a8830c95999998f0f84fd03 (diff) | |
| parent | 550746097b81c07cdc2459371c809a3678fe1ff4 (diff) | |
Merge pull request #411 from hathach/fix-cast-align-warning
enable -Wcast-align
Diffstat (limited to 'examples/make.mk')
| -rw-r--r-- | examples/make.mk | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/make.mk b/examples/make.mk index 449dc899d..2ea50753b 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -63,11 +63,9 @@ CFLAGS += \ -Wwrite-strings \ -Wsign-compare \ -Wmissing-format-attribute \ - -Wunreachable-code - -# This causes lots of warning with nrf5x build due to nrfx code -# CFLAGS += -Wcast-align - + -Wunreachable-code \ + -Wcast-align + # Debugging/Optimization ifeq ($(DEBUG), 1) CFLAGS += -Og -ggdb |
