[project @ 2000-10-13 09:12:40 by simonmar]
authorsimonmar <unknown>
Fri, 13 Oct 2000 09:12:40 +0000 (09:12 +0000)
committersimonmar <unknown>
Fri, 13 Oct 2000 09:12:40 +0000 (09:12 +0000)
Disable -split-objs for way 'u'.

mk/target.mk

index b1d87bb..9e94b82 100644 (file)
@@ -376,6 +376,9 @@ endef
 ifneq "$(HS_SRCS)" ""
 ifeq "$(SplitObjs)" "YES"
 
+# can't split objs in way 'u', so we disable it here
+ifneq "$(way)" "u"
+
 SRC_HC_OPTS += -split-objs
 
 define BUILD_LIB
@@ -404,6 +407,7 @@ extraclean ::
        $(FIND) $(patsubst %.$(way_)o,%,$(HS_OBJS)) -name '*.$(way_)o' -print | xargs $(RM) __rm_food
        -rmdir $(patsubst %.$(way_)o,%,$(HS_OBJS)) > /dev/null 2>&1
 
+endif # $(way) == u
 endif # $(SplitObjs)
 endif # $(HS_SRCS)