libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Allow linking with "-fno-lto"


From: Romain Geissler
Subject: Allow linking with "-fno-lto"
Date: Tue, 27 Feb 2018 00:45:06 +0100

(same message again, but this time with a title)

Hi,

I am hitting some issues when trying to build a project with
CLFAGS="-flto -ffat-lto-objects" (to generate objects with both LTO
information and regular code), but without using LTO at link time
(because I don't want to use just now, but I want to still allow me to
use it later). For that I link with LDFLAGS="-fno-lto".

However libtool doesn't pass this "-fno-lto" to the linker. This patch
fixes this. (I hope gmail.com will not transform my attachment as
base64 attachment, sorry for the inconvenience if it happens...).

Cheers,
Romain

Attachment: 0001-Allow-linking-with-fno-lto.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]