From 76aeee5fc8c2d2a8136e37aa97776ed79e5ec995 Mon Sep 17 00:00:00 2001 From: Appana Durga Kedareswara rao Date: Tue, 27 Apr 2021 11:42:27 +0530 Subject: distro: xilinx-standalone: Use Os option along with Link Time Optimization flags Default Link Time Optimization flags should contain Os option along with flto and ffat-lto-objects flags to inline with the regular esw default compiler flags. Signed-off-by: Appana Durga Kedareswara rao --- meta-xilinx-standalone/conf/distro/xilinx-standalone.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-xilinx-standalone/conf') diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf index 4273230f..0447376b 100644 --- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf +++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf @@ -10,5 +10,5 @@ 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" +ESW_CFLAGS += " -Os -flto -ffat-lto-objects" -- cgit v1.2.3-54-g00ecf