From: Diego E. 'Flameeyes' Pettenò Date: Fri, 21 Nov 2008 00:58:41 +0000 (+0100) Subject: Cleanup flags in maemo/Makefile.am X-Git-Tag: v1.0.19~5 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=0a957ec80e3184cd4cf76a0ec4e070e59d027f8c;p=alsa-plugins.git Cleanup flags in maemo/Makefile.am Pass libraries on LIBADD rather than LDFLAGS, don't link to libdl since it's unneeded, no need to pass -shared since libtool's -module takes care of that, the same goes for -fPIC -DPIC (which might not even be the right option). Signed-off-by: Diego E. 'Flameeyes' Pettenò --- diff --git a/maemo/Makefile.am b/maemo/Makefile.am index 124d17f..47b4548 100644 --- a/maemo/Makefile.am +++ b/maemo/Makefile.am @@ -4,14 +4,14 @@ asound_module_ctl_dsp_ctl_LTLIBRARIES = libasound_module_ctl_dsp_ctl.la asound_module_pcm_alsa_dspdir = @ALSA_PLUGIN_DIR@ asound_module_ctl_dsp_ctldir = @ALSA_PLUGIN_DIR@ -AM_CFLAGS = -Wall -fPIC -DPIC -O2 @ALSA_CFLAGS@ $(DBUS_CFLAGS) -AM_LDFLAGS = -shared -lm -ldl -lpthread -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED) +AM_CFLAGS = -Wall -O2 @ALSA_CFLAGS@ $(DBUS_CFLAGS) +AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED) libasound_module_pcm_alsa_dsp_la_SOURCES = dsp-protocol.c alsa-dsp.c -libasound_module_pcm_alsa_dsp_la_LIBADD = @ALSA_LIBS@ $(DBUS_LIBS) +libasound_module_pcm_alsa_dsp_la_LIBADD = @ALSA_LIBS@ $(DBUS_LIBS) -lm -lpthread libasound_module_ctl_dsp_ctl_la_SOURCES = dsp-protocol.c dsp-ctl.c -libasound_module_ctl_dsp_ctl_la_LIBADD = @ALSA_LIBS@ $(DBUS_LIBS) +libasound_module_ctl_dsp_ctl_la_LIBADD = @ALSA_LIBS@ $(DBUS_LIBS) -lm -lpthread noinst_HEADERS = constants.h debug.h dsp-protocol.h list.h reporting.h \ types.h