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:
David Carlier 2020-01-28 12:53:32 +00:00 committed by Petr Viktorin
parent 2cca8efe46
commit aabdeb766b
6 changed files with 9 additions and 10 deletions

3
configure vendored
View file

@ -11386,7 +11386,6 @@ $as_echo "$with_dtrace" >&6; }
DTRACE=
DFLAGS=
DTRACE_HEADERS=
DTRACE_OBJS=
@ -11452,7 +11451,7 @@ if ${ac_cv_dtrace_link+:} false; then :
else
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
fi