Enable frame pointer in Ruby compile options

This will make it easier to profile and debug Ruby builds.
This also matches with what we do in production:
https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/4030
This commit is contained in:
Stan Hu 2021-04-28 15:07:17 -07:00
parent e2e3574568
commit 1eca8ebf25
No known key found for this signature in database
GPG key ID: 8D3931AD39CC7A20

View file

@ -55,6 +55,7 @@ if [[ -d "/patches/ruby/$RUBY_VERSION" ]]; then
fi
# Compile
export optflags="-fno-omit-frame-pointer"
./configure --enable-shared --with-jemalloc --disable-install-doc --disable-install-rdoc --disable-install-capi
make install -j $(nproc)