summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-18 20:37:59 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-18 20:37:59 +0000
commit31ae4299f571ac20578da77e113c9bc882b27c18 (patch)
tree80eb897051df5035037b4208dd897cc093c7fea9
parent5c41b5d413d0e94bbbb536429dd7de3a2b75301e (diff)
Add info to CFLAGS about lib we are building
-rw-r--r--ldso/ldso/Makefile.in4
-rw-r--r--ldso/libdl/Makefile.in4
-rw-r--r--libcrypt/Makefile.in2
-rw-r--r--libintl/Makefile.in2
-rw-r--r--libm/Makefile.in2
-rw-r--r--libnsl/Makefile.in2
-rw-r--r--libresolv/Makefile.in2
-rw-r--r--librt/Makefile.in2
-rw-r--r--libutil/Makefile.in2
9 files changed, 11 insertions, 11 deletions
diff --git a/ldso/ldso/Makefile.in b/ldso/ldso/Makefile.in
index 0bf5c02ed..78979f020 100644
--- a/ldso/ldso/Makefile.in
+++ b/ldso/ldso/Makefile.in
@@ -5,12 +5,12 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CFLAGS-ldso := -DNOT_IN_libc #-DIS_IN_rtld
+CFLAGS-ldso := -DNOT_IN_libc -DIS_IN_rtld $(SSP_DISABLE_FLAGS)
# This stuff will not work with -fomit-frame-pointer
CFLAGS-ldso += -fno-omit-frame-pointer
-CFLAGS-ldso += -I$(top_builddir)ldso/include -I$(top_builddir)ldso/ldso $(SSP_DISABLE_FLAGS)
+CFLAGS-ldso += -I$(top_builddir)ldso/include -I$(top_builddir)ldso/ldso
CFLAGS-ldso += -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" -DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\"
ifeq ($(SUPPORT_LD_DEBUG),y)
diff --git a/ldso/libdl/Makefile.in b/ldso/libdl/Makefile.in
index 6622226c5..77f18909c 100644
--- a/ldso/libdl/Makefile.in
+++ b/ldso/libdl/Makefile.in
@@ -6,9 +6,9 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CFLAGS-libdl := -DNOT_IN_libc
+CFLAGS-libdl := -DNOT_IN_libc -DIS_IN_libdl $(SSP_ALL_CFLAGS)
-CFLAGS-libdl +=-I$(top_builddir)ldso/include -I$(top_builddir)ldso/ldso $(SSP_ALL_CFLAGS)
+CFLAGS-libdl +=-I$(top_builddir)ldso/include -I$(top_builddir)ldso/ldso
CFLAGS-libdl += -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\"
diff --git a/libcrypt/Makefile.in b/libcrypt/Makefile.in
index 6138ef51f..9aa0d014e 100644
--- a/libcrypt/Makefile.in
+++ b/libcrypt/Makefile.in
@@ -6,7 +6,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CFLAGS-libcrypt := -DNOT_IN_libc $(SSP_ALL_CFLAGS)
+CFLAGS-libcrypt := -DNOT_IN_libc -DIS_IN_libcrypt $(SSP_ALL_CFLAGS)
LDFLAGS-libcrypt.so := $(LDFLAGS)
diff --git a/libintl/Makefile.in b/libintl/Makefile.in
index 78bcc8d0d..3fa075994 100644
--- a/libintl/Makefile.in
+++ b/libintl/Makefile.in
@@ -6,7 +6,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CFLAGS-libintl := -DNOT_IN_libc $(SSP_ALL_CFLAGS)
+CFLAGS-libintl := -DNOT_IN_libc -DIS_IN_libintl $(SSP_ALL_CFLAGS)
LDFLAGS-libintl.so := $(LDFLAGS)
diff --git a/libm/Makefile.in b/libm/Makefile.in
index 4057203fa..4a021fccf 100644
--- a/libm/Makefile.in
+++ b/libm/Makefile.in
@@ -20,7 +20,7 @@
# by Erik Andersen <andersen@codepoet.org>
#
-CFLAGS-libm := -DNOT_IN_libc $(SSP_ALL_CFLAGS)
+CFLAGS-libm := -DNOT_IN_libc -DIS_IN_libm $(SSP_ALL_CFLAGS)
CFLAGS-libm += -D_IEEE_LIBM -D_ISOC99_SOURCE -D_SVID_SOURCE
CFLAGS-libm/$(TARGET_ARCH)/ := $(CFLAGS-libm)
diff --git a/libnsl/Makefile.in b/libnsl/Makefile.in
index 765868e54..f3221f481 100644
--- a/libnsl/Makefile.in
+++ b/libnsl/Makefile.in
@@ -5,7 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CFLAGS-libnsl := -DNOT_IN_libc $(SSP_ALL_CFLAGS)
+CFLAGS-libnsl := -DNOT_IN_libc -DIS_IN_libnsl $(SSP_ALL_CFLAGS)
LDFLAGS-libnsl.so := $(LDFLAGS)
diff --git a/libresolv/Makefile.in b/libresolv/Makefile.in
index d94a076f8..f7a474ad4 100644
--- a/libresolv/Makefile.in
+++ b/libresolv/Makefile.in
@@ -5,7 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CFLAGS-libresolv := -DNOT_IN_libc $(SSP_ALL_CFLAGS)
+CFLAGS-libresolv := -DNOT_IN_libc -DIS_IN_libresolv $(SSP_ALL_CFLAGS)
LDFLAGS-libresolv.so := $(LDFLAGS)
diff --git a/librt/Makefile.in b/librt/Makefile.in
index 7a2a44d03..20a22e26d 100644
--- a/librt/Makefile.in
+++ b/librt/Makefile.in
@@ -5,7 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CFLAGS-librt := -DNOT_IN_libc $(SSP_ALL_CFLAGS)
+CFLAGS-librt := -DNOT_IN_libc -DIS_IN_librt $(SSP_ALL_CFLAGS)
LDFLAGS-librt.so := $(LDFLAGS)
diff --git a/libutil/Makefile.in b/libutil/Makefile.in
index 79c329a33..f6396a627 100644
--- a/libutil/Makefile.in
+++ b/libutil/Makefile.in
@@ -5,7 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CFLAGS-libutil := -DNOT_IN_libc $(SSP_ALL_CFLAGS)
+CFLAGS-libutil := -DNOT_IN_libc -DIS_IN_libutil $(SSP_ALL_CFLAGS)
LDFLAGS-libutil.so := $(LDFLAGS)