From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 14 Jan 2011 15:44:30 +0100 Subject: [Buildroot] freetype: fix for multilib toolchain In-Reply-To: References: <20110114091129.13d810c8@surf> Message-ID: <20110114154430.4952dca7@surf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Fri, 14 Jan 2011 13:47:54 +0100 Bj?rn Forsman wrote: > AFAIK, ld does not have an "-march" option (just looked at the man page). > So I'd say that it is the freetype (and sshd?) package that needs to be fixed > (and not BR) because they are using LDFLAGS wrong. I clearly overlooked this, and I think you're correct. So, as I said in another e-mail, I think ld does allows to choose between different ld variants. So the link should always be done with gcc, which then drives ld, giving it the correct path to the appropriate libraries and runtime. Regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com