diff options
Diffstat (limited to 'elf/rtld-Rules')
-rw-r--r-- | elf/rtld-Rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/elf/rtld-Rules b/elf/rtld-Rules index 0a5d6af..f2cc4a1 100644 --- a/elf/rtld-Rules +++ b/elf/rtld-Rules @@ -138,6 +138,11 @@ ifdef rtld-depfiles -include $(rtld-depfiles) endif +# Set libof-* for each routine. +cpp-srcs-left := $(rtld-modules:%.os=%) +lib := rtld +include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) + # This here is the whole point of all the shenanigans. rtld-CPPFLAGS := -DNOT_IN_libc=1 -DIS_IN_rtld=1 -DIN_LIB=rtld |