aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-11-20 21:24:22 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-11-24 11:41:48 +0530
commit76ca86a506a81d8a08655fb331162926569a47d6 (patch)
tree81d7ba757079e292efd3eca829384e531962c03a
parenta38484851aa244e1d5c48405f0e26fe93fa8d3b5 (diff)
downloadglibc-76ca86a506a81d8a08655fb331162926569a47d6.zip
glibc-76ca86a506a81d8a08655fb331162926569a47d6.tar.gz
glibc-76ca86a506a81d8a08655fb331162926569a47d6.tar.bz2
Remove last place for definition of IS_IN_* macros
Ignoring IS_IN_build, which has a different purpose altogether, this patch removes the last bit of IS_IN_* macro definitions. Now barring NOT_IN_libc, all cases use the IN_MODULE scheme. Generated code unchanged on x86_64. * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
-rw-r--r--ChangeLog2
-rw-r--r--extra-lib.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ce1559e..c70d68a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
+
* elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
* elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
* elf/rtld-Rules: Likewise.
diff --git a/extra-lib.mk b/extra-lib.mk
index c719bd9..7cdf823 100644
--- a/extra-lib.mk
+++ b/extra-lib.mk
@@ -106,4 +106,4 @@ ifneq (,$(cpp-srcs-left))
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))
endif
-CPPFLAGS-$(lib) := -DNOT_IN_libc=1 -DIS_IN_$(lib)=1
+CPPFLAGS-$(lib) := -DNOT_IN_libc=1