[Slackbuilds-users] templates/ proposed updates

B. Watson urchlay at slackware.uk
Wed Aug 5 09:45:09 UTC 2026



On Wed, 5 Aug 2026, B. Watson wrote:

> And yes, I left TODO comments in rubygem-template.SlackBuild. Will
> address this in a separate thread.

Well, no, I won't. I figured out what I was doing wrong. The correct
way is to add '-- --with-cflags="$SLKCFLAGS"' to the end of the 'gem
install' command. I kept leaving off the --, which gives an 'invalid
option' error. Putting the -- in, I get a nice message:

Building native extensions with: '--with-cflags=-O2 -fPIC'

...and strace shows that, yes, gcc is being executed with these flags.


More information about the SlackBuilds-users mailing list