summaryrefslogtreecommitdiff
path: root/databases/memcached/files/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'databases/memcached/files/patch-configure.ac')
-rw-r--r--databases/memcached/files/patch-configure.ac15
1 files changed, 7 insertions, 8 deletions
diff --git a/databases/memcached/files/patch-configure.ac b/databases/memcached/files/patch-configure.ac
index ede0ba9487ff..1cf0d5b975f6 100644
--- a/databases/memcached/files/patch-configure.ac
+++ b/databases/memcached/files/patch-configure.ac
@@ -1,21 +1,20 @@
---- configure.ac.orig 2017-12-21 06:24:20 UTC
+--- configure.ac.orig 2020-03-08 23:05:43 UTC
+++ configure.ac
-@@ -143,8 +143,7 @@ if test "x$enable_dtrace" = "xyes"; then
+@@ -175,7 +175,7 @@ if test "x$enable_dtrace" = "xyes"; then
if test "x$DTRACE" != "xno"; then
AC_DEFINE([ENABLE_DTRACE],1,[Set to nonzero if you want to include DTRACE])
build_dtrace=yes
-- # DTrace on MacOSX does not use -G option
-- $DTRACE -G -o conftest.$$ -s memcached_dtrace.d 2>/dev/zero
+- $DTRACE -h -o conftest.h -s memcached_dtrace.d 2>/dev/zero
+ /usr/bin/true
if test $? -eq 0
then
dtrace_instrument_obj=yes
-@@ -627,7 +626,7 @@ then
+@@ -758,7 +758,7 @@ then
elif test "$GCC" = "yes"
then
GCC_VERSION=`$CC -dumpversion`
- CFLAGS="$CFLAGS -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls"
+ CFLAGS="$CFLAGS -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls"
- case $GCC_VERSION in
- 4.4.*)
- CFLAGS="$CFLAGS -fno-strict-aliasing"
+ if test "x$enable_asan" = "xyes"; then
+ CFLAGS="$CFLAGS -fsanitize=address"
+ fi