[Buildroot] [PATCH 1/1] systemd: disable link time optimization

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Aug 15 20:31:43 UTC 2014


Dear Eric Le Bihan,

On Tue, 12 Aug 2014 22:28:27 +0200, Eric Le Bihan wrote:
> As reported in https://bugs.busybox.net/show_bug.cgi?id=7286,
> systemd fails to build with BR2_OPTIMIZE_2=y. This mode activates the GCC
> options -flto and -ffat-lto-objects, which do not mix well with the GCC
> tricks used in src/compat-libs/linkwarning.h to build the compatibility
> libraries.
> 
> As a temporary workaround, this patch disables link time optimization for
> systemd.
> 
> Signed-off-by: Eric Le Bihan <eric.le.bihan.dev at free.fr>
> ---
>  package/systemd/systemd.mk | 3 +++
>  1 file changed, 3 insertions(+)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list