mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
netpbm: Fix build on x86_64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user