- fix propagation of BR2_SOFT_FLOAT down to uClibc
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 10 Feb 2007 21:24:02 +0000 (21:24 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 10 Feb 2007 21:24:02 +0000 (21:24 -0000)
toolchain/uClibc/uclibc.mk

index 224570978906963ccb89f42d3447476f05379a6e..64f342226e638dab5dd68ac86cb2f5732a907672 100644 (file)
@@ -141,7 +141,7 @@ endif
        $(SED) 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' $(UCLIBC_DIR)/.config
 ifeq ($(BR2_SOFT_FLOAT),y)
        $(SED) 's,.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=n,g' \
-               -e 's,.*HAS_FPU.*,HAS_FPU=n,g' \
+               -e 's,.*[^_]HAS_FPU.*,HAS_FPU=n,g' \
                -e 's,.*UCLIBC_HAS_FLOATS.*,UCLIBC_HAS_FLOATS=y,g' \
                -e 's,.*DO_C99_MATH.*,DO_C99_MATH=y,g' \
                $(UCLIBC_DIR)/.config