lzlib: respect CFLAGS from the recipe
PATCH 1/1 lzlib: respect CFLAGS from the recipe
lzlib's configure script replaces CFLAGS from the environment with its own defaults. As a result, the flags supplied by OpenEmbedded do not make it into the generated Makefile.
Pass CFLAGS on the configure command line so the generated Makefile uses the flags provided by the recipe.
Signed-off-by Oleksiy Obitotskyy <[email protected]>
--- meta/recipes-extended/lzip/lzlib_1.16.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-extended/lzip/lzlib_1.16.bb +1 -0
@@ -23,6 +23,7 @@ CONFIGUREOPTS = "\ '--enable-shared' \ '--disable-static' \ 'CC=${CC}' \ + 'CFLAGS=${CFLAGS}' \ 'CPPFLAGS=${CPPFLAGS}' \ 'CXXFLAGS=${CXXFLAGS}' \ 'LDFLAGS=${LDFLAGS}' \
Signature · 1 line
2.35.6