aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2021-01-06 13:33:17 +0800
committerArmin Kuster <akuster808@gmail.com>2021-01-10 11:27:48 -0800
commita5d1580a4da90379f4ac6afc4826a95c9106320d (patch)
treed8bf70043b53ff3b522977ac8488fd5891ee3cc2 /meta-oe
parent6313a640ab1a4ec27f41324405c7d0396fe2d8d3 (diff)
downloadmeta-openembedded-a5d1580a4da90379f4ac6afc4826a95c9106320d.tar.gz
meta-openembedded-a5d1580a4da90379f4ac6afc4826a95c9106320d.tar.bz2
meta-openembedded-a5d1580a4da90379f4ac6afc4826a95c9106320d.zip
lmbench: Fix setting LDLIBS failure
scripts/build is interpreted as an sh script which may not recognize variable assignment operator += and thus give the following error and fail to append LDLIBS. ../scripts/build: 21: ../scripts/build: LDLIBS+=-lm: not found Use the basic assignment instead. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit a6a8fc75bad04be0842e22fb137d0e7a2dcb7279) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0002-build-Adjust-CFLAGS-LDFLAGS-to-append-values-passed-.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0002-build-Adjust-CFLAGS-LDFLAGS-to-append-values-passed-.patch b/meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0002-build-Adjust-CFLAGS-LDFLAGS-to-append-values-passed-.patch
index 353d80b3b..1d5d9c12a 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0002-build-Adjust-CFLAGS-LDFLAGS-to-append-values-passed-.patch
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0002-build-Adjust-CFLAGS-LDFLAGS-to-append-values-passed-.patch
@@ -22,7 +22,7 @@ index 34a1371..3786741 100755
trap 'rm -f ${BASE}$$.s ${BASE}$$.c ${BASE}$$.o ${BASE}$$; exit 1' 1 2 15
-LDLIBS=-lm
-+LDLIBS+=-lm
++LDLIBS="$LDLIBS -lm"
# check for HP-UX's ANSI compiler
echo "main(int ac, char *av[]) { int i; }" > ${BASE}$$.c