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.lede-project.org./?a=commitdiff_plain;h=f9c3df0f177ad14967afe2828250df774b480941;p=openwrt%2Fsvn-archive%2Fpackages.git 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 4ad304f71..a36de90f6 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 += \