[vlc-commits] contrib:libxml2: don't overwrite environment CFLAGS

Steve Lhomme git at videolan.org
Mon Jan 8 10:05:23 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jan  8 08:28:47 2018 +0100| [ee6c9833cb0c0875910e5b7a87052789f0959947] | committer: Jean-Baptiste Kempf

contrib:libxml2: don't overwrite environment CFLAGS

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ee6c9833cb0c0875910e5b7a87052789f0959947
---

 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 $@



More information about the vlc-commits mailing list