diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-20 06:24:09 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-20 06:24:09 -0700 |
commit | 5d1e70c7d17190d461271a13cf83eaa3271eee58 (patch) | |
tree | 8af893f89a7e3a56e56c87ff26512266a9afdc2b | |
parent | e1650c1187cbcea8ffc7053a46ffd5f1c849721c (diff) | |
download | meta-xilinx-5d1e70c7d17190d461271a13cf83eaa3271eee58.tar.gz |
xilinx-standalone.conf: Add workaround for microblaze -Os bug
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r-- | meta-xilinx-standalone/conf/distro/xilinx-standalone.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf index 0ea74a3d..8f53e99b 100644 --- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf +++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf | |||
@@ -5,6 +5,9 @@ DISTRO_NAME_append = " (lto)" | |||
5 | # By default we want to optimize for size. | 5 | # By default we want to optimize for size. |
6 | FULL_OPTIMIZATION = "-Os -pipe ${DEBUG_FLAGS}" | 6 | FULL_OPTIMIZATION = "-Os -pipe ${DEBUG_FLAGS}" |
7 | 7 | ||
8 | # Workaround for microblaze -Os bug | ||
9 | FULL_OPTIMIZATION_microblaze = "-O2 -pipe ${DEBUG_FLAGS}" | ||
10 | |||
8 | # 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 |
9 | # default. | 12 | # default. |
10 | ESW_CFLAGS += " -flto -ffat-lto-objects" | 13 | ESW_CFLAGS += " -flto -ffat-lto-objects" |