Skip to content

Commit 29ef8c3

Browse files
terceirosorah
authored andcommitted
Update patch for armhf to apply to all architectures
This should allow ruby3.0 to build on all architectures where the build dependencies are available.
1 parent 3f836d8 commit 29ef8c3

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
From: Antonio Terceiro <[email protected]>
2+
Date: Mon, 4 Oct 2021 14:02:15 +0000
3+
Subject: ruby_default_arch.m4: don't require arhitectures to be known ahead
4+
of time
5+
6+
Not sure yet if this should be forwarded upstream or not.
7+
---
8+
tool/m4/ruby_default_arch.m4 | 2 +-
9+
1 file changed, 1 insertion(+), 1 deletion(-)
10+
11+
diff --git a/tool/m4/ruby_default_arch.m4 b/tool/m4/ruby_default_arch.m4
12+
index a53bb5f..080ee07 100644
13+
--- a/tool/m4/ruby_default_arch.m4
14+
+++ b/tool/m4/ruby_default_arch.m4
15+
@@ -4,7 +4,7 @@ AC_MSG_CHECKING([arch option])
16+
AS_CASE([$1],
17+
[*64], [ARCH_FLAG=-m64],
18+
[[i[3-6]86]], [ARCH_FLAG=-m32],
19+
- [AC_MSG_ERROR(unknown target architecture: $target_archs)]
20+
+ [*], []
21+
)
22+
AC_MSG_RESULT([$ARCH_FLAG])
23+
])

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ exclude-several-tests-unstable-in-Docker.patch
66
Fix-FTBFS-on-x32-misdetected-as-i386-or-amd64.patch
77
TestProcess-disable-gems-to-disable-rubygems_integration.patch
88
test-openssl-test_cipher-skip-AES-CCM-tests-on-OpenSSL-1..patch
9+
ruby_default_arch.m4-don-t-require-arhitectures-to-be-kno.patch

0 commit comments

Comments
 (0)