diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-11-20 15:05:26 +0800 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2017-11-30 09:27:27 +0800 |
commit | f8f2799d5b4c51969c904a7a09b75caae1020b31 (patch) | |
tree | 9f7f64ae015af82cd8ded6a42329f6f17b936f7b /meta/recipes-support/libffi | |
parent | d59d7504408b53c4f51fb89f50eb1739333698b1 (diff) | |
download | openembedded-core-contrib-f8f2799d5b4c51969c904a7a09b75caae1020b31.tar.gz |
webkitgtk: fix compile error when len(TMPDIR) == 410
One of the gcc command line was too long (longer than 160,000 characters) when
len(TMPDIR) == 410, so there was an "Argument list too long" error:
$ bitbake webkitgtk
i586-poky-linux-g++: error trying to exec [snip] execv: Argument list too long
The cmake doesn't support relative path, so we have to edit flags.make to fix
the problem:
- Replace -I${RECIPE_SYSROOT} with -I=
- Replace "-I${S}/path1/in/S -I ${S}/path2/in/S" with
"-iprefix ${S} -iwithprefixbefore /path1/in/S -iwithprefixbefore /path2/in/S"
Now the length is less than 25,000.
[YOCTO #12362]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-support/libffi')
0 files changed, 0 insertions, 0 deletions