summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bash/bash-3.2.48
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-07-14 10:07:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-20 10:28:48 +0100
commit2184694a17b20346a5a2c7b84f419c5161e8a24c (patch)
tree94273cbcd1c9f842cafac31f02bf1de8ff138fee /meta/recipes-extended/bash/bash-3.2.48
parentd713c48a35493a421d670ab1799baf1975bd4178 (diff)
downloadpoky-2184694a17b20346a5a2c7b84f419c5161e8a24c.tar.gz
bash: ensure LDFLAGS is passed when building ptest
(From OE-Core rev: 71794837b477a78e2f5408348e269f58f9b1ec7e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bash/bash-3.2.48')
-rw-r--r--meta/recipes-extended/bash/bash-3.2.48/build-tests.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/bash/bash-3.2.48/build-tests.patch b/meta/recipes-extended/bash/bash-3.2.48/build-tests.patch
index 91341ee696..e63457cf2b 100644
--- a/meta/recipes-extended/bash/bash-3.2.48/build-tests.patch
+++ b/meta/recipes-extended/bash/bash-3.2.48/build-tests.patch
@@ -11,15 +11,15 @@ diff -dNaur bash-3.2.48/Makefile.in.orig bash-3.2.48/Makefile.in
11 11
12 recho$(EXEEXT): $(SUPPORT_SRC)recho.c 12 recho$(EXEEXT): $(SUPPORT_SRC)recho.c
13- @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)recho.c ${LIBS_FOR_BUILD} 13- @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)recho.c ${LIBS_FOR_BUILD}
14+ @$(CC) $(CCFLAGS) -o $@ $< 14+ @$(CC) $(CCFLAGS) $(LDFLAGS) -o $@ $<
15 15
16 zecho$(EXEEXT): $(SUPPORT_SRC)zecho.c 16 zecho$(EXEEXT): $(SUPPORT_SRC)zecho.c
17- @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)zecho.c ${LIBS_FOR_BUILD} 17- @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)zecho.c ${LIBS_FOR_BUILD}
18+ @$(CC) $(CCFLAGS) -o $@ $< 18+ @$(CC) $(CCFLAGS) $(LDFLAGS) -o $@ $<
19 19
20 printenv$(EXEEXT): $(SUPPORT_SRC)printenv.c 20 printenv$(EXEEXT): $(SUPPORT_SRC)printenv.c
21- @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)printenv.c ${LIBS_FOR_BUILD} 21- @$(CC_FOR_BUILD) $(CCFLAGS_FOR_BUILD) -o $@ $(SUPPORT_SRC)printenv.c ${LIBS_FOR_BUILD}
22+ @$(CC) $(CCFLAGS) -o $@ $< 22+ @$(CC) $(CCFLAGS) $(LDFLAGS) -o $@ $<
23 23
24-test tests check: force $(Program) $(TESTS_SUPPORT) 24-test tests check: force $(Program) $(TESTS_SUPPORT)
25+test tests check: 25+test tests check: