mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
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.
This commit is contained in:
parent
2cca8efe46
commit
aabdeb766b
6 changed files with 9 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue