[vlc-devel] [PATCH] contrib:libxml2: don't overwrite environment CFLAGS
Steve Lhomme
robux4 at ycbcr.xyz
Mon Jan 8 08:28:47 CET 2018
---
contrib/src/libxml2/rules.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/src/libxml2/rules.mak b/contrib/src/libxml2/rules.mak
index 3ff9dcec99..0f6a964033 100644
--- a/contrib/src/libxml2/rules.mak
+++ b/contrib/src/libxml2/rules.mak
@@ -50,6 +50,6 @@ endif
.libxml2: libxml2
$(RECONF)
- cd $< && $(HOSTVARS) ./configure $(HOSTCONF) CFLAGS="-DLIBXML_STATIC" $(XMLCONF)
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF) CFLAGS="$(CFLAGS) -DLIBXML_STATIC" $(XMLCONF)
cd $< && $(MAKE) install
touch $@
--
2.14.2
More information about the vlc-devel
mailing list