[SCM] vlc/master: Build with -std=gnu11 and -std=gnu++98 to fix FTBFS with GCC 6
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Sun Jul 24 11:25:57 UTC 2016
The following commit has been merged in the master branch:
commit d14000c3b5719eb3fa86c05af11ca6c6486a6e27
Author: Sebastian Ramacher <sramacher at debian.org>
Date: Sun Jul 24 13:23:20 2016 +0200
Build with -std=gnu11 and -std=gnu++98 to fix FTBFS with GCC 6
diff --git a/debian/rules b/debian/rules
index f8f19c7..1469912 100755
--- a/debian/rules
+++ b/debian/rules
@@ -343,7 +343,9 @@ override_dh_auto_configure:
dh_auto_build --sourcedirectory $(ffmpegbuild) -- V=1
$(MAKE) -C $(ffmpegbuild) install-libs install-headers V=1
PKG_CONFIG_PATH=$(ffmpegprefix)/lib/pkgconfig \
- dh_auto_configure -- $(confflags)
+ dh_auto_configure -- $(confflags) \
+ CFLAGS="$$CFLAGS -std=gnu11" \
+ CXXFLAGS="$$CXXFLAGS -std=gnu++98"
override_dh_auto_build:
dh_auto_build
--
VLC media player packaging
More information about the pkg-multimedia-commits
mailing list