gstreamer1: fix gcc-6.2.1 build
This commit is contained in:
parent
a558146e28
commit
59bdd616c3
1 changed files with 7 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname=gstreamer1
|
||||
reverts="1:1.4.5_1"
|
||||
version=1.8.3
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="gstreamer-${version#*:}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-valgrind --enable-docbook
|
||||
|
@ -24,6 +24,12 @@ if [ -z "$CROSS_BUILD" ]; then
|
|||
fi
|
||||
|
||||
pre_configure() {
|
||||
# Remove a non-existing include path from the gstreamer.pc.in file,
|
||||
# or otherwise building pkgs which enable -Werror fail to build with
|
||||
# gcc-6.2.1 which issues a warning for non existing -I/some/path args.
|
||||
# There is no ./usr/lib/gstreamer-1.0/include path in this pkg.
|
||||
sed -i pkgconfig/gstreamer.pc.in \
|
||||
-e 's; -I${libdir}/gstreamer-@GST_API_VERSION@/include;;'
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue