From 1c45f20004d746e3cd07a91747a2e1403a86ec14 Mon Sep 17 00:00:00 2001 From: Joakim Gebart Date: Mon, 13 Jul 2015 15:35:20 +0200 Subject: [PATCH] Makefile.cflags: Add warning for LTO --- Makefile.cflags | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.cflags b/Makefile.cflags index 89381ef4f..a39fc0bdc 100644 --- a/Makefile.cflags +++ b/Makefile.cflags @@ -43,6 +43,7 @@ endif CXXUWFLAGS += -std=% ifeq ($(LTO),yes) + $(info Building with Link-Time-Optimizations is currently an experimental feature. Expect broken binaries.) LTOFLAGS = -flto -ffat-lto-objects CFLAGS += ${LTOFLAGS} LINKFLAGS += ${LTOFLAGS}