All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Michael <david.michael@coreos.com>
To: bridge@lists.linux-foundation.org
Subject: [Bridge] [PATCH] libbridge: Include the configured CFLAGS when compiling
Date: Sat, 13 May 2017 19:23:34 -0700	[thread overview]
Message-ID: <87pofci3bt.fsf@coreos.com> (raw)

---

Hi,

When compiling bridge-utils, the CFLAGS set during "configure" are only
used in the brctl directory.  Can they be included in libbridge, too?

Thanks.

David

 libbridge/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libbridge/Makefile.in b/libbridge/Makefile.in
index 20512c4..4e1cddc 100644
--- a/libbridge/Makefile.in
+++ b/libbridge/Makefile.in
@@ -5,7 +5,7 @@ AR=ar
 RANLIB=@RANLIB@
 
 CC=@CC@
-CFLAGS = -Wall -g $(KERNEL_HEADERS)
+CFLAGS = -Wall -g $(KERNEL_HEADERS) @CFLAGS@
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
-- 
2.7.4


             reply	other threads:[~2017-05-14  2:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-14  2:23 David Michael [this message]
2017-05-15 15:57 ` [Bridge] [PATCH] libbridge: Include the configured CFLAGS when compiling Stephen Hemminger

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=87pofci3bt.fsf@coreos.com \
    --to=david.michael@coreos.com \
    --cc=bridge@lists.linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.