Skip to content

Conversation

@complex857
Copy link

The current extconfg.rb overwrites $CFLAGS variable breaking usual gem install zstd-ruby -- --with-cflags="..." way of setting it

I ran into this when trying to compile the gem with musl on arm64 where a PATH_MAX constant is not set, and couldn't get gem command to add it to the generated makefile with --with-cflags

As a workaround --with-cppflags="..." works because that is already with += in extconf, but i see no reason why break normal cflags

The current extconfg.rb overwrites $CFLAGS variable breaking usual gem -- --with-cflags="..." way of setting it
Fix build, added cflags need padding
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