X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fphp;h=58f442ce4c839dba7c381cb4345f660b151dfba4;hb=262f429733acc2fbea21a5eaa3ba641502776f86;hp=503ddcc44303ed909163f3a5e81dbad8ef643982;hpb=0ba7cc35a71aa47a3ff30f9638978a70e24664ac;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/lfs/php b/lfs/php index 503ddcc44..58f442ce4 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 ###############################################################################