In GCC 6.1 preprocessor behavior was changed.
It failed to correctly generate lib_gen.c .
This patch is imported from upstream and fixes the issue.
Change-Id: I58a3beb4f583147963135a6b6b4cb146f93d6238
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
if test "${LC_COLLATE+set}" = set; then LC_COLLATE=C; export LC_COLLATE; fi
-preprocessor="$1 -DNCURSES_INTERNALS -I../include"
+preprocessor="$1 -P -DNCURSES_INTERNALS -I../include"
AWK="$2"
USE="$3"