]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
libdvbpsi: Fails to build with newer GCC
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 1 May 2017 14:46:00 +0000 (16:46 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 18 May 2017 11:08:41 +0000 (12:08 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/libdvbpsi

index 68c7deb39342ec4db2c6bfcd02dedd0843aa7850..01abb4358953bcedd3307ca925da54c256f57279 100644 (file)
@@ -77,7 +77,8 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure --prefix=/usr
+       cd $(DIR_APP) && sed -e "s/-Werror//g" -i configure
+       cd $(DIR_APP) && ./configure --prefix=/usr --enable-release
        cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)