diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-12-13 04:40:10 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-12-13 04:40:10 +0000 |
commit | 7993e170de6c401c6ce00b26411f8f55944cdf54 (patch) | |
tree | 0f8847f86f27d41f21abfb2df9252c4f28f36ef9 | |
parent | 26ac73a7de1ba347046f7d23400439e682e79ed5 (diff) |
Move the soft float check
-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)) |