[openib-general] [PATCH] [MINOR] ipoibtools: fix compilation errors on ppc64

Yosef Etigin yosefe at voltaire.com
Tue Dec 26 07:58:36 PST 2006


Fix compilation errors of ipoibtools on ppc64 caused by 
overriding CFLAGS in the Makefile.

Signed-off-by: Yosef Etigin <yosefe at voltaire.com>

---
diff -ur a/src/userspace/ipoibtools/iproute2/Makefile b/src/userspace/ipoibtools/iproute2/Makefile
--- a/src/userspace/ipoibtools/iproute2/Makefile	2006-12-25 16:18:43.000000000 +0200
+++ b/src/userspace/ipoibtools/iproute2/Makefile	2006-12-25 15:54:40.000000000 +0200
@@ -22,7 +22,7 @@
 CC = gcc
 HOSTCC = gcc
 CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
-CFLAGS = $(CCOPTS) -I../include $(DEFINES)
+CFLAGS += $(CCOPTS) -I../include $(DEFINES)
 YACCFLAGS = -d -t -v
 
 LDLIBS += -L../lib -lnetlink -lutil

--
Yosef Etigin
Voltaire





More information about the general mailing list