[vlc-devel] [PATCH] dca: force gnu89 C standard
Sean McGovern
gseanmcg at gmail.com
Thu Nov 6 16:48:15 CET 2014
---
This should fix the issue with _sputc on some of the Mac builds.
---
contrib/src/dca/rules.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/src/dca/rules.mak b/contrib/src/dca/rules.mak
index 6582845..5857fcd 100644
--- a/contrib/src/dca/rules.mak
+++ b/contrib/src/dca/rules.mak
@@ -24,7 +24,7 @@ libdca: libdca-$(DCA_VERSION).tar.bz2 .sum-dca
$(MOVE)
.dca: libdca
- cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+ cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -std=gnu89" ./configure $(HOSTCONF)
cd $< && $(MAKE) -C include install
cd $< && $(MAKE) -C libdca install
touch $@
--
1.9.3 (Apple Git-50)
More information about the vlc-devel
mailing list