Skip to content

Commit

Permalink
make with --no-builtin-variables
Browse files Browse the repository at this point in the history
As observed in #2771, `?=` thinks that implicit definitions of CC`, `AR` and `ARFLAGS` are explicit.
Disabling implicit variables is more straightforward than adapting the `Makefile` and `extconf.rb` around them.
  • Loading branch information
ParadoxV5 committed May 25, 2024
1 parent ba82ce9 commit 0779fa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/prism/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def make(env, target)
system(
env,
RUBY_PLATFORM.include?("openbsd") ? "gmake" : "make",
"--no-builtin-variables", # don't let GNU make implicit variables override variable fallbacks in the Makefile
target,
exception: true
)
Expand Down

0 comments on commit 0779fa9

Please sign in to comment.