From 9a829527070496490ad8c7018ceaa025bffe9e1d Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Thu, 30 Nov 2017 20:57:06 +0800 Subject: [PATCH] [Tools] fix kconfig-frontends compiling issue under mac --- tools/kconfig-frontends/SConstruct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/kconfig-frontends/SConstruct b/tools/kconfig-frontends/SConstruct index 6bcfbf1c6c..ef0ce33573 100644 --- a/tools/kconfig-frontends/SConstruct +++ b/tools/kconfig-frontends/SConstruct @@ -4,7 +4,9 @@ env = Environment() env['CPPPATH'] = ['libs/parser', 'libs'] env['CPPDEFINES'] = ['CURSES_LOC=\\"ncurses.h\\"', 'HAVE_CONFIG_H', 'ROOTMENU=\\"Configuration\\"', - 'CONFIG_=\\"CONFIG_\\"', 'GPERF_LEN_TYPE=uint'] + 'CONFIG_=\\"CONFIG_\\"', + 'KBUILD_NO_NLS', + 'GPERF_LEN_TYPE=unsigned int'] env['LIBS'] = ['ncurses'] src = Split('''