From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] [PATCH] batmand: Don't override CPPFLAGS set by user
Date: Tue, 6 Dec 2011 19:57:11 +0100 [thread overview]
Message-ID: <1323197832-1791-1-git-send-email-sven@narfation.org> (raw)
Users or build servers may want to enable preprocessor specific options like
-D_FORTIFY_SOURCE=2 that are usually placed in CPPFLAGS. The batmand makefile
should not override these options to add own preprocessor variables.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 346b14a..65e0cf2 100755
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,7 @@ MANPAGE = man/batmand.8
# batmand flags and options
CFLAGS += -pedantic -Wall -W -std=gnu99 -MD
-CPPFLAGS = -DDEBUG_MALLOC -DMEMORY_USAGE -DPROFILE_DATA $(NO_POLICY_ROUTING)
+CPPFLAGS += -DDEBUG_MALLOC -DMEMORY_USAGE -DPROFILE_DATA $(NO_POLICY_ROUTING)
LDLIBS += -lpthread
# disable verbose output
--
1.7.7.3
next reply other threads:[~2011-12-06 18:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 18:57 Sven Eckelmann [this message]
2011-12-06 19:53 ` [B.A.T.M.A.N.] [PATCH] batmand: Don't override CPPFLAGS set by user elektra
2011-12-07 7:20 ` Sven Eckelmann
2011-12-07 12:40 ` elektra
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=1323197832-1791-1-git-send-email-sven@narfation.org \
--to=sven@narfation.org \
--cc=b.a.t.m.a.n@lists.open-mesh.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