diff options
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -200,7 +200,11 @@ ifeq ($(HAVE_SHARED),y) BUILD_DYNAMIC_LINKER:=/lib/$(strip $(subst ",, $(notdir $(SYSTEM_LDSO)))) endif endif +ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y) + CFLAGS += $(call check_gcc,-msoft-float,) +endif +CFLAGS_NOPIC:=$(CFLAGS) ifeq ($(DOPIC),y) ifeq ($(strip $(TARGET_ARCH)),cris) CFLAGS += -fpic -mlinux @@ -209,10 +213,6 @@ else endif endif -ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y) - CFLAGS += $(call check_gcc,-msoft-float,) -endif - LIBGCC_CFLAGS ?= $(CFLAGS) $(CPU_CFLAGS-y) LIBGCC:=$(shell $(CC) $(LIBGCC_CFLAGS) -print-libgcc-file-name) LIBGCC_DIR:=$(dir $(LIBGCC)) |