Skip to contentSkip to conversation

lzlib: respect CFLAGS from the recipe

PATCH New Oleksiy Obitotskyy 1 participant 1 message Jul 6

lore
Share & tools
lore
#0 lore raw

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.

---
 meta/recipes-extended/lzip/lzlib_1.16.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-extended/lzip/lzlib_1.16.bb +1 -0
index e076581e05..26f612ca11 100644
@@ -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