فهرست منبع

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...

Eric Andersen 23 سال پیش
والد
کامیت
2a0977528a
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      libm/Makefile

+ 3 - 2
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