diff options
| author | Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> | 2021-04-27 11:42:27 +0530 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-09-27 21:33:21 -0700 |
| commit | 76aeee5fc8c2d2a8136e37aa97776ed79e5ec995 (patch) | |
| tree | 6fa1b786f1ea72690a7f43eb6fba080ea2ef7dc1 | |
| parent | f607291917d9fa6a4e0d689ab58fd2d3a193e66f (diff) | |
| download | meta-xilinx-76aeee5fc8c2d2a8136e37aa97776ed79e5ec995.tar.gz | |
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 <appana.durga.rao@xilinx.com>
| -rw-r--r-- | meta-xilinx-standalone/conf/distro/xilinx-standalone.conf | 2 |
1 files changed, 1 insertions, 1 deletions
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}" | |||
| 10 | 10 | ||
| 11 | # We also need to use Link Time Optimization for many items, make this the | 11 | # We also need to use Link Time Optimization for many items, make this the |
| 12 | # default. | 12 | # default. |
| 13 | ESW_CFLAGS += " -flto -ffat-lto-objects" | 13 | ESW_CFLAGS += " -Os -flto -ffat-lto-objects" |
| 14 | 14 | ||
