--- a/components/libmemcached/Makefile Wed Nov 09 09:51:14 2016 -0800
+++ b/components/libmemcached/Makefile Wed Nov 09 10:03:53 2016 -0800
@@ -39,6 +39,10 @@
ifeq ($(OS_VERSION),5.11)
LDFLAGS += -lsocket -lnsl
+CONFIGURE_OPTIONS += ax_cv_check_cflags__Werror__fPIE=no
+CONFIGURE_OPTIONS += ax_cv_check_cflags__Werror__pie=no
+CONFIGURE_OPTIONS += ax_cv_check_cxxflags__Werror__fPIE=no
+CONFIGURE_OPTIONS += ax_cv_check_cxxflags__Werror__pie=no
endif
# Include _SOLARIS_ flag for byteorder.h.patch's ifdef to work