diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-11-09 00:21:19 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-11-09 00:21:19 +0000 |
commit | 2a0977528a6a7b8110199a9ed42cda5fba981fd9 (patch) | |
tree | 1d8d4b932934ff36aa40de2d06c07fe3ba7fc54a | |
parent | 51da40e78d19c791fa8e0e00f764137b0e5a9e36 (diff) | |
download | uClibc-alpine-2a0977528a6a7b8110199a9ed42cda5fba981fd9.tar.bz2 uClibc-alpine-2a0977528a6a7b8110199a9ed42cda5fba981fd9.tar.xz |
Patch from Simon Rowe to try and build asm libm code
only when HAS_FPU is set. If you don't have an FPU
then usm FPU code isn't going to help much...
-rw-r--r-- | libm/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libm/Makefile b/libm/Makefile index 7723b180d..e93582a5f 100644 --- a/libm/Makefile +++ b/libm/Makefile @@ -34,10 +34,11 @@ TOPDIR=../ include $(TOPDIR)Rules.mak +DIRS = +ifeq ($(strip $(HAS_FPU)),y) ifeq ($(TARGET_ARCH),$(wildcard $(TARGET_ARCH))) DIRS = $(TARGET_ARCH) -else -DIRS = +endif endif ALL_SUBDIRS = powerpc |