diff --git a/pkg/gecko_sdk/Makefile b/pkg/gecko_sdk/Makefile
index 9d48be11008db3a7bf52251ecedec8e7c702c77a..9dff8d24e2559b374e955fd0044386034a543017 100644
--- a/pkg/gecko_sdk/Makefile
+++ b/pkg/gecko_sdk/Makefile
@@ -7,6 +7,8 @@ ifneq ($(CPU),efm32)
   $(error This package can only be used with EFM32 CPUs)
 endif
 
+CFLAGS += -Wno-int-in-bool-context
+
 .PHONY: all
 
 all: git-download