alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: "Diego Elio Pettenò" <flameeyes@gmail.com>
To: alsa-devel@alsa-project.org
Subject: [alsa-utils PATCH 2/3] Pass -D_GNU_SOURCE together with INCLUDES (for the preprocessor).
Date: Thu, 20 Jan 2011 16:02:25 +0100	[thread overview]
Message-ID: <1295535746-24051-2-git-send-email-flameeyes@gmail.com> (raw)
In-Reply-To: <1295535746-24051-1-git-send-email-flameeyes@gmail.com>

This removes this warning when rebuilding autotools:

alsaloop/Makefile.am:3: `CFLAGS' is a user variable, you should not
override it;
alsaloop/Makefile.am:3: use `AM_CFLAGS' instead.
---
 alsaloop/Makefile.am |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/alsaloop/Makefile.am b/alsaloop/Makefile.am
index f76eafd..840448f 100644
--- a/alsaloop/Makefile.am
+++ b/alsaloop/Makefile.am
@@ -1,6 +1,5 @@
-INCLUDES = -I$(top_srcdir)/include
+INCLUDES = -I$(top_srcdir)/include -D_GNU_SOURCE
 LDADD = -lm
-CFLAGS += -D_GNU_SOURCE
 if HAVE_SAMPLERATE
 LDADD += -lsamplerate
 endif
-- 
1.7.4.rc2

  reply	other threads:[~2011-01-20 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-20 15:02 [alsa-utils PATCH 1/3] Add missing call to AM_PROG_CC_C_O Diego Elio Pettenò
2011-01-20 15:02 ` Diego Elio Pettenò [this message]
2011-01-20 15:02 ` [alsa-utils PATCH 3/3] Fix xmlto detection, allow building without xmlto installed Diego Elio Pettenò

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1295535746-24051-2-git-send-email-flameeyes@gmail.com \
    --to=flameeyes@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).