Browse Source

If HAVE_SHARED is disabled and libm/TARGET_ARCH does not exist, subdirs does not resolve to anything, not pulling in libm.a target. Add libm.a to all: .

Peter S. Mazinger 21 năm trước cách đây
mục cha
commit
ee27949b66
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      libm/Makefile

+ 1 - 1
libm/Makefile

@@ -98,7 +98,7 @@ OBJS=$(COBJS) $(FL_MOBJ)
 ifeq ($(strip $(HAVE_SHARED)),y)
 all: $(SO_LIB_NAME)
 else
-all: subdirs
+all: $(AR_LIB_NAME) subdirs
 endif
 
 $(AR_LIB_NAME): $(OBJS)