* [Bridge] [PATCH] libbridge: Include the configured CFLAGS when compiling
@ 2017-05-14 2:23 David Michael
2017-05-15 15:57 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: David Michael @ 2017-05-14 2:23 UTC (permalink / raw)
To: bridge
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Bridge] [PATCH] libbridge: Include the configured CFLAGS when compiling
2017-05-14 2:23 [Bridge] [PATCH] libbridge: Include the configured CFLAGS when compiling David Michael
@ 2017-05-15 15:57 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2017-05-15 15:57 UTC (permalink / raw)
To: David Michael; +Cc: bridge
On Sat, 13 May 2017 19:23:34 -0700
David Michael <david.michael@coreos.com> wrote:
> When compiling bridge-utils, the CFLAGS set during "configure" are only
> used in the brctl directory.
Sure make sense. I applied it (with some reordering).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-15 15:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-14 2:23 [Bridge] [PATCH] libbridge: Include the configured CFLAGS when compiling David Michael
2017-05-15 15:57 ` Stephen Hemminger
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.