X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fphp;h=58f442ce4c839dba7c381cb4345f660b151dfba4;hp=503ddcc44303ed909163f3a5e81dbad8ef643982;hb=ce33eb3e3b2422954081bdf7c8cfd3fc8af8ede0;hpb=26c8b40955b104d7d747d4a965f7ab4178dcae3b diff --git a/lfs/php b/lfs/php index 503ddcc443..58f442ce4c 100644 --- 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 ###############################################################################