From: Tom Rini Date: Fri, 23 May 2014 16:52:56 -0400 Subject: [U-Boot] [U-Boot, v3] examples: select libgcc for non-default architecture In-Reply-To: <1400230457-11075-1-git-send-email-abrodkin@synopsys.com> References: <1400230457-11075-1-git-send-email-abrodkin@synopsys.com> Message-ID: <20140523205256.GV1752@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, May 16, 2014 at 12:54:17PM +0400, Alexey Brodkin wrote: > In case of multilib-enabled toolchains if default architecture differ from > the one examples are being built for linker will fail to link example object > files with libgcc of another (non-compatible) architecture. > > Interesting enough for years in main Makefile we used CFLAGS/c_flags for this > but not for examples. > > So fixing it now. > > Signed-off-by: Alexey Brodkin > > Cc: Masahiro Yamada > Cc: Tom Rini > Cc: Wolfgang Denx > Acked-by: WOlfgang Denk > Acked-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: