[git commit] buildsys: fix IS_IN_lib* for .i
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Mar 18 21:31:53 UTC 2015
commit: http://git.uclibc.org/uClibc/commit/?id=5d3c0cc2aa60da804c9c981ffd5edcd2f02f1977
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
Makerules | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makerules b/Makerules
index cc54388..a60338a 100644
--- a/Makerules
+++ b/Makerules
@@ -29,7 +29,7 @@ objs: all_objs
# apply unconditional per-directory flags
define add_IS_IN_lib
ifneq ($(strip $(2)),)
-__add_IS_IN_lib := $(2)
+__add_IS_IN_lib := $(2) $(2:.o=.i) $(2:.os=.i) $(2:.oS=.i)
$$(__add_IS_IN_lib): CFLAGS-for-library-members:=$(CFLAGS-$(1)) -DIN_LIB=$(word 1,$(subst /, ,$(1)))
endif
endef
More information about the uClibc-cvs
mailing list