It's experimental, fairly broken, and getting in the way of the build system
overhaul to support non-x86 architectures.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
COMMON_FLAGS := -pipe -I$(ROOT)/include -I$(ROOT)/arch/x86/include -MMD -MP
-# Experimental LTO support. `make ... lto=y`
-COMMON_CFLAGS-$(lto) := -flto
-LDFLAGS-$(lto) := -flto -fuse-ld=gold
-
COMMON_AFLAGS := $(COMMON_FLAGS) -D__ASSEMBLY__
COMMON_CFLAGS := $(COMMON_FLAGS) $(COMMON_CFLAGS-y)
COMMON_CFLAGS += -Wall -Wextra -Werror -std=gnu99 -Wstrict-prototypes -O3 -g