From 0c386a4042ca37e5fbae6cbc34e20899d4ddf682 Mon Sep 17 00:00:00 2001 From: mirko Date: Mon, 29 Mar 2010 00:56:18 +0000 Subject: [PATCH] use gcc instead of g++ to avoid unnecessary linking against libstdc++, as this is plain C software git-svn-id: svn://svn.openwrt.org/openwrt/packages@20567 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- sound/mpd/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 += \ -- 2.11.0