Skip to contentSkip to conversation

svn commit: trunk/buildroot/package

Buildroot aldot at uclibc.org 1 participant 1 message Jun 26, 2007

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2007-06-26 07:02:29 -0700 (Tue, 26 Jun 2007) New Revision: 18938

Log:
- pass -msoft-float if BR2_SOFT_FLOAT is set. Closes bug #1069

Modified:
trunk/buildroot/package/Makefile.in

Changeset:
Modified: trunk/buildroot/package/Makefile.in
===================================================================

buildroot/package/Makefile.in +8 -0
@@ -34,11 +34,19 @@
 TARGET_CFLAGS+=-fPIC -DPIC
 endif # PIC for dynamic objects on x86_64
 endif
+
+ifeq ($(BR2_SOFT_FLOAT),y)
+TARGET_CFLAGS+=-msoft-float
+endif
+
+
 # else it's an external toolchain
+#########################################################################
 else
 TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include -I$(TOOLCHAIN_EXTERNAL_PATH)/$(TOOLCHAIN_EXTERNAL_PREFIX)/include
 TARGET_LDFLAGS=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
 endif
+#########################################################################
 
 ifndef HOSTAR
 HOSTAR:=ar