dca: force gnu89 C standard
authorSean McGovern <gseanmcg@gmail.com>
Thu, 6 Nov 2014 15:48:15 +0000 (10:48 -0500)
committerFelix Paul Kühne <fkuehne@videolan.org>
Thu, 6 Nov 2014 16:07:23 +0000 (17:07 +0100)
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
contrib/src/dca/rules.mak

index 6582845..5857fcd 100644 (file)
@@ -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 $@