mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
bpo-39761: Fix dtrace build with empty $DFLAGS (GH-18766)
This fixes a regression introduced in bpo-38960. When DFLAGS was empty, "$DFLAGS" results in an empty argument (""). Without the quotes, an empty variable will be ignored by the shell.
This commit is contained in:
parent
2dd41740c9
commit
3c97e1e457
@ -0,0 +1 @@
|
|||||||
|
Fix build with DTrace but without additional DFLAGS.
|
2
configure
vendored
2
configure
vendored
@ -11487,7 +11487,7 @@ if ${ac_cv_dtrace_link+:} false; then :
|
|||||||
else
|
else
|
||||||
ac_cv_dtrace_link=no
|
ac_cv_dtrace_link=no
|
||||||
echo 'BEGIN{}' > conftest.d
|
echo 'BEGIN{}' > conftest.d
|
||||||
"$DTRACE" "$DFLAGS" -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
|
ac_cv_dtrace_link=yes
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -3541,7 +3541,7 @@ then
|
|||||||
[ac_cv_dtrace_link], [dnl
|
[ac_cv_dtrace_link], [dnl
|
||||||
ac_cv_dtrace_link=no
|
ac_cv_dtrace_link=no
|
||||||
echo 'BEGIN{}' > conftest.d
|
echo 'BEGIN{}' > conftest.d
|
||||||
"$DTRACE" "$DFLAGS" -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
|
ac_cv_dtrace_link=yes
|
||||||
])
|
])
|
||||||
if test "$ac_cv_dtrace_link" = "yes"; then
|
if test "$ac_cv_dtrace_link" = "yes"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user