From 31850b463b468567e324cfa6bf6f6e3e642a2925 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Tue, 28 Aug 2012 08:26:27 -0400 Subject: [PATCH] php: remove -march from CFLAGS on arm build. --- lfs/php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lfs/php b/lfs/php index f068035e7f..c5aae146b7 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 ############################################################################### -- 2.39.2