aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlier <dcarlier@afilias.info>2020-01-28 12:53:32 +0000
committerPetr Viktorin <encukou@gmail.com>2020-01-28 13:53:32 +0100
commitaabdeb766b7fa581e7de01f3c953b12792f0736d (patch)
tree3ed6c4b6c00b8142775b9a996e84e3be383d3265 /configure.ac
parentbpo-36350: inspect: Replace OrderedDict with dict. (GH-12412) (diff)
downloadcpython-aabdeb766b7fa581e7de01f3c953b12792f0736d.tar.gz
cpython-aabdeb766b7fa581e7de01f3c953b12792f0736d.tar.bz2
cpython-aabdeb766b7fa581e7de01f3c953b12792f0736d.zip
bpo-38960: DTrace build fix for FreeBSD. (GH-17451)
DTrace build fix for FreeBSD. - allowing passing an extra flag as it need to define the arch size. - casting some probe's arguments.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ab8e1b7d27..fee605eec2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3500,7 +3500,6 @@ AC_SUBST(DFLAGS)
AC_SUBST(DTRACE_HEADERS)
AC_SUBST(DTRACE_OBJS)
DTRACE=
-DFLAGS=
DTRACE_HEADERS=
DTRACE_OBJS=
@@ -3521,7 +3520,7 @@ then
[ac_cv_dtrace_link], [dnl
ac_cv_dtrace_link=no
echo 'BEGIN{}' > conftest.d
- "$DTRACE" -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
+ "$DTRACE" "$DFLAGS" -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
ac_cv_dtrace_link=yes
])
if test "$ac_cv_dtrace_link" = "yes"; then