]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
netpbm: Fix build on x86_64
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Aug 2015 21:47:33 +0000 (23:47 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Aug 2015 21:47:33 +0000 (23:47 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/netpbm

index 5af5e47c718b8f672477d792b614bb7f99871dee..ab5e4f874f2722fda48ef00d46bd920305f245d2 100644 (file)
@@ -36,6 +36,8 @@ PAK_VER    = 1
 
 DEPS       = ""
 
+CFLAGS    += -flax-vector-conversions
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -79,7 +81,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP)/converter && patch -Np1 < $(DIR_SRC)/src/patches/netpbm-10.26.46-getline.patch
        cp $(DIR_SRC)/config/netpbm/Makefile.config $(DIR_APP)
-       cd $(DIR_APP) && make
+       cd $(DIR_APP) && make CFLAGS="$(CFLAGS)"
        cd $(DIR_APP) && make package PKGDIR=/usr/local/netpbm
        cp /usr/local/netpbm/lib/lib* /usr/lib
        @rm -rf $(DIR_APP)