components/memcached/Makefile
changeset 773 cfddc5466118
parent 223 b9246653129d
child 800 2ad056ed89ec
equal deleted inserted replaced
772:96235751b5d2 773:cfddc5466118
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		memcached
    28 COMPONENT_NAME=		memcached
    44 
    44 
    45 COMPONENT_TEST_TARGETS=	test
    45 COMPONENT_TEST_TARGETS=	test
    46 
    46 
    47 studio_OPT = -xO5
    47 studio_OPT = -xO5
    48 
    48 
       
    49 CFLAGS += -D__ATTRIBUTE_DISABLED
       
    50 
    49 CONFIGURE_BINDIR.64 =	$(CONFIGURE_PREFIX)/lib/$(MACH64)
    51 CONFIGURE_BINDIR.64 =	$(CONFIGURE_PREFIX)/lib/$(MACH64)
    50 CONFIGURE_OPTIONS.64 +=	--with-libevent=/usr/lib/${MACH64}
    52 CONFIGURE_OPTIONS.64 +=	--with-libevent=/usr/lib/${MACH64}
    51 CONFIGURE_OPTIONS +=	--enable-dtrace --disable-docs --disable-coverage
    53 CONFIGURE_OPTIONS +=	--enable-dtrace --disable-docs --disable-coverage
    52 CONFIGURE_OPTIONS +=	--localstatedir=/var
    54 CONFIGURE_OPTIONS +=	--localstatedir=/var
    53 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    55 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"