blob: 8f53e99b30023d0f6e7fa001cb7b62449d620c55 [file] [log] [blame]
require conf/distro/xilinx-standalone.inc
DISTRO_NAME_append = " (lto)"
# By default we want to optimize for size.
FULL_OPTIMIZATION = "-Os -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"