X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/dc14c8ff2a6961709dbac35543666aa09035e3e1..9c0ae271fee1a6f7c9af9690bf228ebc90ad327e:/rules.mk diff --git a/rules.mk b/rules.mk index 8e31a27b6..2298e437d 100644 --- a/rules.mk +++ b/rules.mk @@ -81,10 +81,10 @@ ifeq ($(CONFIG_NATIVE_TOOLCHAIN),) endif ifeq ($(CONFIG_SOFT_FLOAT),y) -SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft -TARGET_CFLAGS+=-msoft-float + SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft + TARGET_CFLAGS+= -msoft-float else -SOFT_FLOAT_CONFIG_OPTION:= + SOFT_FLOAT_CONFIG_OPTION:= endif export PATH:=$(TARGET_PATH) @@ -95,8 +95,6 @@ PKG_CONFIG:=$(STAGING_DIR_HOST)/bin/pkg-config export PKG_CONFIG -LINUX_HEADERS_DIR:=$(BUILD_DIR_TOOLCHAIN)/linux - HOSTCC:=gcc HOST_CFLAGS:=-O2 -I$(STAGING_DIR_HOST)/include HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib