aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-24 00:11:41 +0100
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-24 00:11:41 +0100
commitc846358a61434e6cb9b1f73bc35df0e5404f52d2 (patch)
treead3083e9d295a80317ac4c41e4f40e64230b07b3
parent6cba32e6e9a1910ea0a5277fd39484047094e478 (diff)
downloaduClibc-c846358a61434e6cb9b1f73bc35df0e5404f52d2.tar.gz
uClibc-c846358a61434e6cb9b1f73bc35df0e5404f52d2.tar.bz2
buildsys: fix IS_IN_lib* for .s
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--Makerules4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index a60338a87..fd6bb190d 100644
--- a/Makerules
+++ b/Makerules
@@ -29,7 +29,9 @@ objs: all_objs
# apply unconditional per-directory flags
define add_IS_IN_lib
ifneq ($(strip $(2)),)
-__add_IS_IN_lib := $(2) $(2:.o=.i) $(2:.os=.i) $(2:.oS=.i)
+__add_IS_IN_lib := $(2)
+__add_IS_IN_lib += $(2:.o=.i) $(2:.os=.i) $(2:.oS=.i)
+__add_IS_IN_lib += $(2:.o=.s) $(2:.os=.s) $(2:.oS=.s)
$$(__add_IS_IN_lib): CFLAGS-for-library-members:=$(CFLAGS-$(1)) -DIN_LIB=$(word 1,$(subst /, ,$(1)))
endif
endef