From: Masahiro Yamada Date: Mon, 19 May 2014 13:09:43 +0900 Subject: [U-Boot] [PATCH 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: <20140519130943.BE60.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Alexey, On Fri, 16 May 2014 12:54:17 +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 I did build test on some boards with/without CONFIG_USE_PRIVATE_LIBGCC and I worked as expected. So, you can have my Acked-by: Masahiro Yamada Thanks! Best Regards Masahiro Yamada