aboutsummaryrefslogtreecommitdiff
path: root/kconfig/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-11-26 17:18:29 -0500
committerRob Landley <rob@landley.net>2006-11-26 17:18:29 -0500
commit61a9cc57e791d37c7940d5e5aa83806c0543635b (patch)
treeb815a60655fdb40baf14bd28e8547595a438629c /kconfig/Makefile
parent6973a1d0e4c99e7bd07b239dee8a6c52c74ecb0f (diff)
downloadtoybox-61a9cc57e791d37c7940d5e5aa83806c0543635b.tar.gz
Reduce flag duplication and make kconfig use HOST_CC.
Diffstat (limited to 'kconfig/Makefile')
-rw-r--r--kconfig/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/kconfig/Makefile b/kconfig/Makefile
index 53857de6..4446e2c2 100644
--- a/kconfig/Makefile
+++ b/kconfig/Makefile
@@ -52,11 +52,11 @@ SHIPPED = kconfig/zconf.tab.c kconfig/lex.zconf.c kconfig/zconf.hash.c
gen_config.h: .config
kconfig/mconf: $(SHIPPED)
- $(CC) -o $@ kconfig/{mconf.c,zconf.tab.c,lxdialog/*.c} \
+ $(HOST_CC) -o $@ kconfig/{mconf.c,zconf.tab.c,lxdialog/*.c} \
-lcurses "-DCURSES_LOC=<ncurses.h>"
kconfig/conf: $(SHIPPED)
- $(CC) -o $@ kconfig/{conf.c,zconf.tab.c}
+ $(HOST_CC) -o $@ kconfig/{conf.c,zconf.tab.c}
clean::
rm -f $(wildcard kconfig/*zconf*.c) kconfig/{conf,mconf}