Bug #9267
closed
+1. Some notes:
- To add -I/opt/include and -L/opt/lib, use --with-opt-dir=/opt
- Do not override CFLAGS. If CFLAGS is provided, it is used as a replacement for default flags (i.e., '-ggdb3 -O3' will not be used unless you specify them)
- Use MAINLIBS to add libraries to the ruby binary only (i.e. no c-extensions). This is ideal for allocators:
make ruby MAINLIBS=-ltcmalloc
make ruby-jemalloc RUBY_INSTALL_NAME=ruby-jemalloc MAINLIBS=-ljemalloc
@tmm1 (Aman Karmani) Thanks for the feedback!
If anyone else has any pointers on this, its appreciated!
- Target version changed from 2.1.0 to 2.2.0
- Status changed from Assigned to Closed
I've added wiki page for Configuration Options, please feel free to add any version specific configuration options here.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0