From: Peter Korsgaard Date: Sat, 5 Jun 2010 18:46:55 +0000 (+0200) Subject: kconfig: fix qconf (make xconfig) linking X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0197d64b5c598534b8f805174ef312398a0c48b;p=buildroot.git 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 --- diff --git a/package/config/Makefile b/package/config/Makefile index a2184fa3c7..66b54cdf68 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 $@