toolchain: fix build on arm with hardfloat host distro.

This commit is contained in:
Arne Fitzenreiter
2012-08-28 08:21:47 -04:00
parent bd8e98e8d8
commit 62a430f93f
3 changed files with 3 additions and 4 deletions

View File

@@ -36,6 +36,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
CFLAGS := $(patsubst -march=%,,$(CFLAGS))
CFLAGS := $(patsubst -mtune=%,,$(CFLAGS))
CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS))
# Normal build or /tools build.
#
@@ -118,10 +119,6 @@ EXTRA_CONFIG += \
export XCFLAGS = $(CFLAGS)
export TCFLAGS = $(CFLAGS)
ifeq "$(PASS)" "1"
CFLAGS =
endif
###############################################################################
# Top-level Rules
###############################################################################