[PATCH btbridge v2 7/8] Makefile: fix linking and enable -Wall
OpenBMC Patches
openbmc-patches at stwcx.xyz
Mon Nov 23 21:10:06 AEDT 2015
From: Joel Stanley <joel at jms.id.au>
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index a55897f..9d1f5b9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CPPFLAGS=$(shell pkg-config --cflags libsystemd)
-LDFLAGS=$(shell pkg-config --libs libsystemd)
+CFLAGS = $(shell pkg-config --cflags libsystemd) -Wall -O2
+LDLIBS = $(shell pkg-config --libs libsystemd)
EXE = btbridged
--
2.6.3
More information about the openbmc
mailing list