]> git.ipfire.org Git - people/ms/ipfire-2.x.git/blobdiff - lfs/php
php: Build in zip module.
[people/ms/ipfire-2.x.git] / lfs / php
diff --git a/lfs/php b/lfs/php
index 503ddcc44303ed909163f3a5e81dbad8ef643982..8cdacdf85a6eb0abd4b56f5cb9ed9f8e2c70a98f 100644 (file)
--- a/lfs/php
+++ b/lfs/php
@@ -32,6 +32,10 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
+ifeq "$(MACHINE_TYPE)" "arm"
+       CFLAGS    := $(patsubst -march=%,,$(CFLAGS))
+endif
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -114,7 +118,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                                                                                            --with-readline \
                                                                                            --enable-sockets \
                                                                                            --with-xsl \
-                                                                                           --with-iconv
+                                                                                           --with-iconv \
+                                                                                           --enable-zip
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        cd $(DIR_APP) && install -v -m644 $(DIR_SRC)/config/php/php.ini /etc/php.ini