Skip to content

bpo-39761: Fix dtrace build with empty $DFLAGS#18766

Merged
encukou merged 1 commit into
python:masterfrom
encukou:dtrace-build-fix
Mar 11, 2020
Merged

bpo-39761: Fix dtrace build with empty $DFLAGS#18766
encukou merged 1 commit into
python:masterfrom
encukou:dtrace-build-fix

Conversation

@encukou

@encukou encukou commented Mar 3, 2020

Copy link
Copy Markdown
Member

This should fix 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.

https://bugs.python.org/issue39761

This fixes a regression introduced in bpo-38960.
@encukou

encukou commented Mar 3, 2020

Copy link
Copy Markdown
Member Author

@dcarlier-afilias, could you check if this builds on FreeBSD?
For the record, what value are you using for DFLAGS?

@ghost

ghost commented Mar 3, 2020

Copy link
Copy Markdown

This solution seems to work on FreeBSD.

@encukou
encukou merged commit 3c97e1e into python:master Mar 11, 2020
@encukou
encukou deleted the dtrace-build-fix branch March 11, 2020 13:27
@dcarlier-afilias dcarlier-afilias mannequin mentioned this pull request May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants