[Tools] fix kconfig-frontends compiling issue under mac
@@ -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('''
