OSDN Git Service

Make kconfig build on MacOS X. (Because it's there.)
authorRob Landley <rob@landley.net>
Tue, 13 Feb 2007 00:59:12 +0000 (19:59 -0500)
committerRob Landley <rob@landley.net>
Tue, 13 Feb 2007 00:59:12 +0000 (19:59 -0500)
kconfig/Makefile

index f66432e..95e621e 100644 (file)
@@ -53,10 +53,10 @@ gen_config.h: .config
 
 kconfig/mconf: $(SHIPPED)
        $(HOST_CC) -o $@ kconfig/{mconf.c,zconf.tab.c,lxdialog/*.c} \
-               -lcurses "-DCURSES_LOC=<ncurses.h>"
+               -lcurses -DCURSES_LOC="<ncurses.h>" -DKBUILD_NO_NLS=1
 
 kconfig/conf: $(SHIPPED)
-       $(HOST_CC) -o $@ kconfig/{conf.c,zconf.tab.c}
+       $(HOST_CC) -o $@ kconfig/{conf.c,zconf.tab.c} -DKBUILD_NO_NLS=1
 
 clean::
        rm -f $(wildcard kconfig/*zconf*.c) kconfig/{conf,mconf}