components/memcached/Makefile
changeset 1742 1bfc3321abb4
parent 1643 fecb396baaeb
child 1948 2d1537e7942d
equal deleted inserted replaced
1741:8e31d13070e7 1742:1bfc3321abb4
    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)