- pass -msoft-float if BR2_SOFT_FLOAT is set. Closes bug #1069
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 26 Jun 2007 14:02:29 +0000 (14:02 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 26 Jun 2007 14:02:29 +0000 (14:02 -0000)
package/Makefile.in

index b619105bfd7dbfd3737356b792f3b5507668e973..6b1e6fe194994ab582c8e99245b80e55a5e4b190 100644 (file)
@@ -34,11 +34,19 @@ ifeq ($(BR2_x86_64),y)
 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