diff --git a/recipes/ncurses/recipe.sh b/recipes/ncurses/recipe.sh
index d7ed2709324014239a252e7ab7a89f42546bfa11..a31c4ab020011db45ac70ce4fcc106048d377b7e 100644
--- a/recipes/ncurses/recipe.sh
+++ b/recipes/ncurses/recipe.sh
@@ -12,6 +12,7 @@ function recipe_update {
 }
 
 function recipe_build {
+    export CPPFLAGS="-P"
     ./configure --host=${HOST} --prefix=""
     make
     skip=1