Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions 2.7/alpine3.11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ RUN set -eux; \
} > file.c.new; \
mv file.c.new file.c; \
\
# https://github.com/ruby/ruby/pull/2995
sed -i 's/armv7/arm/' configure.ac; \
sed -i '2329s/ucontext/arm32/' configure.ac; \
sed -i '/^\.text/i .file "Context.S"' coroutine/arm32/Context.S; \
sed -i '/^\.globl coroutine_transfer/a .syntax unified' coroutine/arm32/Context.S; \
sed -i '/^\.globl coroutine_transfer/a .type coroutine_transfer,%function' coroutine/arm32/Context.S; \
sed -i '/^\.globl coroutine_transfer/a .align 2' coroutine/arm32/Context.S; \
\
autoconf; \
gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \
# the configure script does not detect isnan/isinf as macros
Expand Down