summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql55-client/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/mysql55-client/Makefile.common b/databases/mysql55-client/Makefile.common
index 3e046b58196..b69cca5625c 100644
--- a/databases/mysql55-client/Makefile.common
+++ b/databases/mysql55-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.24 2013/01/03 21:23:04 adam Exp $
+# $NetBSD: Makefile.common,v 1.25 2013/02/05 11:01:19 jperkin Exp $
#
# used by databases/mysql55-client/Makefile
# used by databases/mysql55-server/Makefile
@@ -75,6 +75,11 @@ GNU_ARCH.i386= i486
CFLAGS+= -march=i486
.endif
+# Ensure the correct DTrace ABI is used.
+.if !empty(ABI)
+CMAKE_ARGS+= -DDTRACE_FLAGS="-${ABI}"
+.endif
+
CPPFLAGS+= -Dunix
CFLAGS+= -DUSE_OLD_FUNCTIONS # 3.23.x compat