]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
splix: Buildfix for ARM.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Sep 2011 20:35:50 +0000 (20:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Sep 2011 20:35:50 +0000 (20:35 +0000)
lfs/splix

index e45872d8bd836048b1951141eb19ef59b9c27f5f..bc82cf311c8e907a8572fcadc36956280fb924ab 100644 (file)
--- a/lfs/splix
+++ b/lfs/splix
@@ -77,6 +77,9 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+ifeq "$(MACHINE)" "arm"
+       cd $(DIR_APP) && sed -e "s/ceill/ceil/g" -i src/*.cpp
+endif
        cd $(DIR_APP) && make DISABLE_JBIG=1 $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)