]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
crda: Compile fix for newer GCC
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 May 2017 17:03:47 +0000 (19:03 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 18 May 2017 11:09:27 +0000 (12:09 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/crda

index 8bee2584ba496dfdc79a6d00773882232365badf..621a6b549a31b28bc675a3629de9b80c5997c589 100644 (file)
--- a/lfs/crda
+++ b/lfs/crda
@@ -71,6 +71,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && sed -e "s/-Werror//g" -i Makefile
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)