Skip to content

Instantly share code, notes, and snippets.

@frsyuki
Last active April 19, 2019 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frsyuki/ce9d9715309cdd20787026954a6eb31f to your computer and use it in GitHub Desktop.
Save frsyuki/ce9d9715309cdd20787026954a6eb31f to your computer and use it in GitHub Desktop.
./configure \
$(ruby -e "puts RbConfig::CONFIG['configure_args']") \
CFLAGS=$(ruby -e "puts RbConfig::CONFIG['CFLAGS'] + ' -flto'") \
LDFLAGS=$(ruby -e "puts RbConfig::CONFIG['LDFLAGS'] + ' -flto'") \
--enable-shared \
--prefix=$(pwd)/install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment