X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/dc14c8ff2a6961709dbac35543666aa09035e3e1..eed3d11b5ede033ca253bb8825741c4b2b948fb6:/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