summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-06-05 20:46:55 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-06-05 20:46:55 +0200
commite0197d64b5c598534b8f805174ef312398a0c48b (patch)
tree653a41e8de9c017c5009594d125e6832f202d8de
parent1b9d9cbafde8c6687be9959493cad58d26d0546b (diff)
downloadbuildroot-novena-e0197d64b5c598534b8f805174ef312398a0c48b.tar.gz
buildroot-novena-e0197d64b5c598534b8f805174ef312398a0c48b.zip
kconfig: fix qconf (make xconfig) linking
qconf is written in C++, so use HOSTCXX instead of HOSTCC, and pass the correct flags. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/config/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/config/Makefile b/package/config/Makefile
index a2184fa3c..66b54cdf6 100644
--- a/package/config/Makefile
+++ b/package/config/Makefile
@@ -26,7 +26,7 @@ $(host-cmulti): %: $(host-cobjs) $(host-cshlib)
$(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $($@-objs) $(HOST_LOADLIBES) -o $@
$(host-cxxmulti): %: $(host-cxxobjs) $(host-cobjs) $(host-cshlib)
- $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $($@-objs) $($@-cxxobjs) $(HOSTLOADLIBES_$@) -o $@
+ $(HOSTCXX) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCXXFLAGS_$@) $($@-objs) $($@-cxxobjs) $(HOSTLOADLIBES_$@) -o $@
$(host-cobjs): %.o: %.c
$(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) -c $< -o $@