From: Mirko Vogt Date: Mon, 29 Mar 2010 00:56:18 +0000 (+0000) Subject: use gcc instead of g++ to avoid unnecessary linking against libstdc++, as this is... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=bac87a6abd05a4f98c60e5fa489314dc9f641def use gcc instead of g++ to avoid unnecessary linking against libstdc++, as this is plain C software SVN-Revision: 20567 --- diff --git a/sound/mpd/Makefile b/sound/mpd/Makefile index 4ad304f712..a36de90f6a 100644 --- a/sound/mpd/Makefile +++ b/sound/mpd/Makefile @@ -56,6 +56,9 @@ ifeq ($(CONFIG_PACKAGE_kmod-sound-core),) CONFIGURE_ARGS+= --disable-alsa endif +# use gcc instead of g++ to avoid unnecessary linking against libstdc++ +TARGET_CXX=$(TARGET_CC) + TARGET_CFLAGS+=-std=gnu99 CONFIGURE_VARS += \