Skip to content

Conversation

fenrir-naru
Copy link

I faced a build error in github actions of another project for Ruby 2.4 (obsoluted) in Windows.
I analyzed the reason, and I found the build command was unintentionally modified in the build method.

The input build command was
gcc -shared $(if $(filter-out -g -g0,-ggdb3),,-s) -x c++ -DHAVE_ISFINITE $(DEFFILE) -O3 ... ,
and the desireable output should be
gcc -shared -x c++ -DHAVE_ISFINITE -O3 ... ,
however, the result was
gcc -shared -O3 ... .

This PR will fix it by updating the regular expression.

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.

1 participant