diff --git a/pkg/jerryscript/Makefile b/pkg/jerryscript/Makefile
index 8bc5c8c2e4b25ea709c8b8e9b9fe9971a4b31be5..8e76cd979a82499c507abbd757b73865daa61b84 100644
--- a/pkg/jerryscript/Makefile
+++ b/pkg/jerryscript/Makefile
@@ -9,7 +9,7 @@ CFLAGS += -Wno-implicit-fallthrough
 
 # disable warnings when compiling with LLVM for board native
 ifeq ($(TOOLCHAIN)_$(BOARD),llvm_native)
-export CFLAGS += -Wno-macro-redefined -Wno-gnu-folding-constant
+  CFLAGS += -Wno-macro-redefined -Wno-gnu-folding-constant
 endif
 
 all: git-download