liboping: Don't build with -Werror
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Dec 2015 21:17:27 +0000 (21:17 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Dec 2015 22:18:08 +0000 (22:18 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/liboping

index cfe985c..2437959 100644 (file)
@@ -70,6 +70,7 @@ $(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) && sed -e "s/-Werror//g" -i src/Makefile.*
        cd $(DIR_APP) && ./configure --prefix=/usr
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install