summaryrefslogtreecommitdiffstats
path: root/rules/ncurses.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-11-13 10:52:11 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-11-13 13:00:20 +0100
commitc749698533ae1826a3e178feabc4a181946e614a (patch)
tree368cbb2f6e7b6b55a5f04d7ab0b3d429380c3a9c /rules/ncurses.make
parentd035e1ea923f456546e1b30975efaa87515e2885 (diff)
downloadptxdist-c749698533ae1826a3e178feabc4a181946e614a.tar.gz
ptxdist-c749698533ae1826a3e178feabc4a181946e614a.tar.xz
ncurses: fix building with gcc >= 5.1
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/ncurses.make')
-rw-r--r--rules/ncurses.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/ncurses.make b/rules/ncurses.make
index b124a9ee3..f2b0d3c61 100644
--- a/rules/ncurses.make
+++ b/rules/ncurses.make
@@ -83,6 +83,8 @@ NCURSES_AUTOCONF := \
--with-shared \
--without-progs
+NCURSES_CPPFLAGS := -P
+
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------