Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 30 Jan 2019 21:38:15 +0000
From: James Larrowe <>
Cc: James Larrowe <>
Subject: [PATCH] Enable multilib support when building with musl-gcc

Somewhat incomplete; enables using 32-bit musl-gcc
on a 64-bit system

Signed-off-by: James Larrowe <>
 tools/ | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/ b/tools/
index 30492574..a73e6656 100644
--- a/tools/
+++ b/tools/
@@ -23,7 +23,9 @@ libgcc.a%s %:if-exists(libgcc_eh.a%s)
 crtendS.o%s $libdir/crtn.o
--dynamic-linker $ldso -nostdlib %{shared:-shared} %{static:-static} %{rdynamic:-export-dynamic}
+-dynamic-linker $ldso -nostdlib %{shared:-shared} %{static:-static} \
+ %{rdynamic:-export-dynamic} %{m64:-melf_x86_64} %{mx32:-melf32_x86_64} \
+ %{m32:-melf_i386}

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.