diff -r 78392507fd82 -r 576d5a7857b7 components/open-fabrics/ofed.mk --- a/components/open-fabrics/ofed.mk Wed Dec 18 04:50:56 2013 -0800 +++ b/components/open-fabrics/ofed.mk Wed Dec 18 10:04:53 2013 -0800 @@ -18,7 +18,7 @@ # # CDDL HEADER END # -# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. # # Since we are building these as a set and not packaging them individually at @@ -27,9 +27,12 @@ PROTO_DIR = $(WS_COMPONENTS)/open-fabrics/prototype/$(MACH) # OFED only builds with GCC -COMPILER=gcc +COMPILER=gcc3 -PATH=/usr/sfw/bin:/usr/bin:/usr/gnu/bin +PATH=$(GCC3_ROOT)/bin:/usr/bin:/usr/gnu/bin +ifeq ($(strip $(PARFAIT_BUILD)),yes) +PATH=$(PARFAIT_TOOLS_GCC3):$(GCC3_ROOT)/bin:/usr/bin +endif CPPFLAGS += "-Wformat=2" CFLAGS += -D_REENTRANT