mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Merge branch 'sh-ruby-ldflags-prep' into 'master'
Ensure jemalloc is always linked with ruby binary See merge request gitlab-org/gitlab-build-images!481
This commit is contained in:
commit
cc18fe8b5b
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ if [[ -d "/patches/ruby/$RUBY_VERSION" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Compile
|
# Compile
|
||||||
|
# This is needed for Ruby < 3.1 on Debian bullseye: https://bugs.ruby-lang.org/issues/18409
|
||||||
|
export LDFLAGS="-Wl,--no-as-needed"
|
||||||
cflags="-fno-omit-frame-pointer" ./configure --enable-shared --with-jemalloc --disable-install-doc --disable-install-rdoc --disable-install-capi
|
cflags="-fno-omit-frame-pointer" ./configure --enable-shared --with-jemalloc --disable-install-doc --disable-install-rdoc --disable-install-capi
|
||||||
make install -j $(nproc)
|
make install -j $(nproc)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue