diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-05-07 22:38:30 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-09 23:30:16 +0100 |
commit | 48c64d609bcc8066c81898bce9e6e935b3dc1756 (patch) | |
tree | 231c329c38472846a5dfbe2a57d27b0e004b0693 /Makefile | |
parent | 071fa40b0e4e4545083523b756fb3489ca739492 (diff) | |
download | poky-48c64d609bcc8066c81898bce9e6e935b3dc1756.tar.gz |
libcap: Configure Make variables correctly without a horrible hack
Occasionally, the build would fail with:
make[2]: execvp: mkdir: Argument list too long
This turned out to be due to a hacky solution used in the recipe to
modify the Makefile, which resulted in one more $(BUILD_CFLAGS) being
added to the immediately expanded BUILD_CFLAGS Make variable each time
do_configure was executed. After a couple of times, this lead to an
environment with a 140 kB BUILD_CFLAGS when mkdir should execute, which
resulted in the E2BIG.
(From OE-Core rev: 116e6b61c585c6f0f7ae6f010bd490bb39914348)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions