mirror of https://github.com/python/cpython
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.
|
|
@ -11487,7 +11487,7 @@ if ${ac_cv_dtrace_link+:} false; then :
|
|||
else
|
||||
ac_cv_dtrace_link=no
|
||||
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
|
||||
|
||||
fi
|
||||
|
|
|
@ -3541,7 +3541,7 @@ then
|
|||
[ac_cv_dtrace_link], [dnl
|
||||
ac_cv_dtrace_link=no
|
||||
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
|
||||
])
|
||||
if test "$ac_cv_dtrace_link" = "yes"; then
|
||||
|
|
Loading…
Reference in New Issue