25071362 tweaks needed to get libmemcached to build on S11.3
authorJohn Beck <John.Beck@Oracle.COM>
Wed, 09 Nov 2016 10:03:53 -0800
changeset 7280 bf2e7fde74d5
parent 7279 c2b1ddc7e31d
child 7286 7b08db47486d
25071362 tweaks needed to get libmemcached to build on S11.3
components/libmemcached/Makefile
--- 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