From e0197d64b5c598534b8f805174ef312398a0c48b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sat, 5 Jun 2010 20:46:55 +0200 Subject: [PATCH] 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 --- package/config/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $@ -- 2.30.2