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(+) diff --git a/meta/recipes-extended/lzip/lzlib_1.16.bb b/meta/recipes-extended/lzip/lzlib_1.16.bb index e076581e05..26f612ca11 100644 --- a/meta/recipes-extended/lzip/lzlib_1.16.bb +++ b/meta/recipes-extended/lzip/lzlib_1.16.bb @@ -23,6 +23,7 @@ CONFIGUREOPTS = "\ '--enable-shared' \ '--disable-static' \ 'CC=${CC}' \ + 'CFLAGS=${CFLAGS}' \ 'CPPFLAGS=${CPPFLAGS}' \ 'CXXFLAGS=${CXXFLAGS}' \ 'LDFLAGS=${LDFLAGS}' \ -- 2.35.6
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240216): https://lists.openembedded.org/g/openembedded-core/message/240216 Mute This Topic: https://lists.openembedded.org/mt/120136277/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
