components/open-fabrics/ofed.mk
changeset 1827 f2c27a5ab5dd
parent 1496 f774cfa29f53
child 3817 30b42c38bbc4
equal deleted inserted replaced
1826:aa1aa25c5397 1827:f2c27a5ab5dd
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 # Since we are building these as a set and not packaging them individually at
    24 # Since we are building these as a set and not packaging them individually at
    25 # this time, each OFED component should install in a common prototype directory
    25 # this time, each OFED component should install in a common prototype directory
    26 # so we override PROTO_DIR
    26 # so we override PROTO_DIR
    34 PATH=$(PARFAIT_TOOLS_GCC3):$(GCC3_ROOT)/bin:/usr/bin
    34 PATH=$(PARFAIT_TOOLS_GCC3):$(GCC3_ROOT)/bin:/usr/bin
    35 endif
    35 endif
    36 
    36 
    37 
    37 
    38 CPPFLAGS += "-Wformat=2"
    38 CPPFLAGS += "-Wformat=2"
    39 CFLAGS += -D_REENTRANT
    39 CFLAGS += -D_REENTRANT -D__USE_SUNOS_SOCKETS__
    40 
    40 
    41 # Since we are not currently packaging the various OFED components separately
    41 # Since we are not currently packaging the various OFED components separately
    42 # and we still need headers and to link with the components that we are
    42 # and we still need headers and to link with the components that we are
    43 # building, we need to point the compiler and linker at a common proto area
    43 # building, we need to point the compiler and linker at a common proto area
    44 # for OFED component headers and libraries.
    44 # for OFED component headers and libraries.