diff --git a/pkg/cmsis-dsp/Makefile b/pkg/cmsis-dsp/Makefile index 635bd18a29..24b67fbcc5 100644 --- a/pkg/cmsis-dsp/Makefile +++ b/pkg/cmsis-dsp/Makefile @@ -22,6 +22,8 @@ CMSIS_DSP_MODULES = \ .PHONY: cmsis-dsp_% +CFLAGS += -Wno-cast-align + all: $(CMSIS_DSP_MODULES) cmsis-dsp_%: diff --git a/pkg/cmsis-dsp/patches/0003-Inclue-arm_math.h-silence-Wcast-align.patch b/pkg/cmsis-dsp/patches/0003-Inclue-arm_math.h-silence-Wcast-align.patch new file mode 100644 index 0000000000..16989a51e1 Binary files /dev/null and b/pkg/cmsis-dsp/patches/0003-Inclue-arm_math.h-silence-Wcast-align.patch differ