php: remove -march from CFLAGS on arm build.

This commit is contained in:
Arne Fitzenreiter
2012-08-28 08:26:27 -04:00
parent 998375f855
commit 31850b463b

View File

@@ -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
###############################################################################