components/memcached/Makefile
branchs11-update
changeset 2977 ad3b1b35e66d
parent 2915 f3c0e109c208
child 3661 47545fb8aed4
equal deleted inserted replaced
2975:633de78fc886 2977:ad3b1b35e66d
    49 studio_OPT = -xO5
    49 studio_OPT = -xO5
    50 
    50 
    51 CFLAGS += -D__ATTRIBUTE_DISABLED
    51 CFLAGS += -D__ATTRIBUTE_DISABLED
    52 
    52 
    53 CONFIGURE_BINDIR.64 =	$(CONFIGURE_PREFIX)/lib/$(MACH64)
    53 CONFIGURE_BINDIR.64 =	$(CONFIGURE_PREFIX)/lib/$(MACH64)
    54 CONFIGURE_OPTIONS.64 +=	--with-libevent=/usr/lib/${MACH64}
    54 CONFIGURE_OPTIONS.64 +=	--with-libevent=/usr/lib/$(MACH64)
       
    55 # The below works around a bug in configure/configure.ac that sets
       
    56 # an incorrect runpath.
       
    57 # Setting ac_cv_libevent bypasses libevent checks in configure,
       
    58 # including setting the runpath (-R), which is currently ok
       
    59 # because libevent is in a default library directory.
       
    60 CONFIGURE_OPTIONS.64 +=	"ac_cv_libevent_dir=/usr/lib/$(MACH64)"
    55 CONFIGURE_OPTIONS +=	--enable-dtrace --disable-docs --disable-coverage
    61 CONFIGURE_OPTIONS +=	--enable-dtrace --disable-docs --disable-coverage
    56 CONFIGURE_OPTIONS +=	--localstatedir=/var
    62 CONFIGURE_OPTIONS +=	--localstatedir=/var
    57 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    63 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    58 
    64 
    59 ASLR_MODE = $(ASLR_ENABLE)
    65 ASLR_MODE = $(ASLR_ENABLE)