]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/libdvbpsi
libdvbpsi: Fails to build with newer GCC
[ipfire-2.x.git] / 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)