From: Arne Fitzenreiter Date: Tue, 28 Aug 2012 12:26:27 +0000 (-0400) Subject: php: remove -march from CFLAGS on arm build. X-Git-Tag: v2.13-beta1~190^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31850b463b468567e324cfa6bf6f6e3e642a2925;p=people%2Fstevee%2Fipfire-2.x.git php: remove -march from CFLAGS on arm build. --- 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 ###############################################################################