blob: 4273230f0a5d5eaf0255ca94496d8d7edc490334 [file] [log] [blame]
require conf/distro/xilinx-standalone.inc
DISTRO_NAME_append = " (lto)"
# By default we want to optimize for size.
FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}"
# Workaround for microblaze -Os bug
FULL_OPTIMIZATION_microblaze = "-O2 -pipe ${DEBUG_FLAGS}"
# We also need to use Link Time Optimization for many items, make this the
# default.
ESW_CFLAGS += " -flto -ffat-lto-objects"