diff options
author | Andrew Ruder <andrew.ruder@elecsyscorp.com> | 2013-11-15 14:28:56 -0600 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-11-17 08:36:49 +0100 |
commit | 21161a0889ae5b6c416773597bb24475340619bd (patch) | |
tree | 567ba2d70912aa27c55442e243d8113f07464adf /package/beecrypt/beecrypt-cppglue.cxx-cplusplus-only.patch | |
parent | 1b5bd7a29694881cf85c653e2307d7b8464a15c9 (diff) | |
download | buildroot-21161a0889ae5b6c416773597bb24475340619bd.tar.gz buildroot-21161a0889ae5b6c416773597bb24475340619bd.zip |
pv: support ccache builds
When using ccache TARGET_CC is something like
ccache gcc
This causes problems in the pv build which attempts to
override LD because the command ends up being
make [...] LD=/tools/ccache /tools/gcc LDFLAGS="[...]
As a result, during the build phase it attempts to build
/tools/gcc which succeeds by doing nothing:
make[1]: Nothing to be done for `/tools/gcc'.
and during the install phase you get the real build which
errors out on the LD error this snippet was attempting to
fix:
ld -r -o src/library.o src/library/getopt.o \
src/library/gettext.o
ld: src/library/gettext.o: Relocations in generic ELF \
(EM: 40)
src/library/gettext.o: error adding symbols: File in \
wrong format
Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/beecrypt/beecrypt-cppglue.cxx-cplusplus-only.patch')
0 files changed, 0 insertions, 0 deletions