diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2019-03-04 12:42:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-04 14:28:22 +0000 |
commit | 92d23674587fb9c6634b9ba88b8399b0ec40bd1c (patch) | |
tree | aac72aae21e6e052b4848197f97e1da1449411ea /meta/recipes-devtools/swig/swig_3.0.12.bb | |
parent | b11725db2d5549dc45d8ae36fbf94a5c8e342d69 (diff) | |
download | openembedded-core-contrib-92d23674587fb9c6634b9ba88b8399b0ec40bd1c.tar.gz |
swig: fix build with musl
Building with musl currently fails. The fix has been committed
upstream, so backport it.
Note that it requires running yacc again to regenerate the parser file,
so a bison-native dependency is needed. Also the upstream's configure
step creates the directory where the parser file is generated at
make-dist time, and for some reason running through bitbake does not
create it, so do it manually. All of this can be reverted once a new
swig version that includes the fix is released and rebased onto.
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/swig/swig_3.0.12.bb')
-rw-r--r-- | meta/recipes-devtools/swig/swig_3.0.12.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/swig/swig_3.0.12.bb b/meta/recipes-devtools/swig/swig_3.0.12.bb index fe9d0747f2..45026c9700 100644 --- a/meta/recipes-devtools/swig/swig_3.0.12.bb +++ b/meta/recipes-devtools/swig/swig_3.0.12.bb @@ -5,6 +5,7 @@ SRC_URI += "file://0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.pat file://0001-Add-Node-7.x-aka-V8-5.2-support.patch \ file://swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch \ file://Python-Fix-new-GCC8-warnings-in-generated-code.patch \ + file://0001-Fix-generated-code-for-constant-expressions-containi.patch \ " SRC_URI[md5sum] = "82133dfa7bba75ff9ad98a7046be687c" SRC_URI[sha256sum] = "7cf9f447ae7ed1c51722efc45e7f14418d15d7a1e143ac9f09a668999f4fc94d" |