aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-04-25 12:08:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-27 15:11:36 +0100
commitd6ffd683bf635548e0bfb3fd6458ed03e26ec2bf (patch)
treeebe86239d201a52f73abf41ebfabcfa8e22925da
parent5aae5812223792d5e5bd57e024de50fbcd1e6da5 (diff)
downloadopenembedded-core-contrib-d6ffd683bf635548e0bfb3fd6458ed03e26ec2bf.tar.gz
openembedded-core-contrib-d6ffd683bf635548e0bfb3fd6458ed03e26ec2bf.tar.bz2
openembedded-core-contrib-d6ffd683bf635548e0bfb3fd6458ed03e26ec2bf.zip
bitbake.conf: Use gcc-nm as default NM
This ensures linker LTO plugin is loaded correctly Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 385fc7dd552..a0e0c77fe63 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -527,7 +527,7 @@ export STRIP = "${HOST_PREFIX}strip"
export OBJCOPY = "${HOST_PREFIX}objcopy"
export OBJDUMP = "${HOST_PREFIX}objdump"
export STRINGS = "${HOST_PREFIX}strings"
-export NM = "${HOST_PREFIX}nm"
+export NM = "${HOST_PREFIX}gcc-nm"
export READELF = "${HOST_PREFIX}readelf"
PYTHON = "${@sys.executable}"