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

Steve Lhomme git at videolan.org
Wed Jan 17 16:13:02 CET 2018


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

contrib:libxml2: don't overwrite environment CFLAGS

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit ee6c9833cb0c0875910e5b7a87052789f0959947)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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