mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
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:
parent
e2e3574568
commit
1eca8ebf25
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue