diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2020-07-08 15:39:55 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-07-08 15:39:57 -0700 |
| commit | 0543b45445541a02badab2ada6a296d8ff8bb8c6 (patch) | |
| tree | 6e0562de21fafe4bee37e1a2a761da7f229e1d3a | |
| parent | 5c5e9508cda7cde5da76aa84a1be284592f99bf4 (diff) | |
| download | meta-xilinx-0543b45445541a02badab2ada6a296d8ff8bb8c6.tar.gz | |
xilinx-standalone.conf: Switch default from -Os to -O2
Based on performance measurements as well as recent presentations at ELC
it is believed the correct default should always be -O2. -Os should only
be selectively used per module instead of default.
Signed-off-by: Mark Hatle <mark.hatle@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 8f53e99b..4273230f 100644 --- a/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf +++ b/meta-xilinx-standalone/conf/distro/xilinx-standalone.conf | |||
| @@ -3,7 +3,7 @@ require conf/distro/xilinx-standalone.inc | |||
| 3 | DISTRO_NAME_append = " (lto)" | 3 | DISTRO_NAME_append = " (lto)" |
| 4 | 4 | ||
| 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 = "-O2 -pipe ${DEBUG_FLAGS}" |
| 7 | 7 | ||
| 8 | # Workaround for microblaze -Os bug | 8 | # Workaround for microblaze -Os bug |
| 9 | FULL_OPTIMIZATION_microblaze = "-O2 -pipe ${DEBUG_FLAGS}" | 9 | FULL_OPTIMIZATION_microblaze = "-O2 -pipe ${DEBUG_FLAGS}" |
