Ensure the correct DTrace ABI is used. Fixes Solaris 32-bit build.

This commit is contained in:
jperkin 2013-02-05 11:01:19 +00:00
parent 34e132f0a8
commit 9c3c8389d9

View file

@ -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