Skip to contentSkip to conversation

libbridge: Include the configured CFLAGS when compiling

PATCH In review David Michael 2 participants 2 messages May 14, 2017 – May 15, 2017 Ethernet bridge

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libbridge: Include the configured CFLAGS when compiling

---

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(-)
libbridge/Makefile.in +1 -1
index 20512c4..4e1cddc 100644
@@ -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@
Signature · 1 line
2.7.4
#1 lore raw
Quoted 2 lines · On Sat, 13 May 2017 19:23:34 -0700 David Michael <[email protected]>…

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).