summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-10 09:10:43 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-10 09:10:43 +0000
commit231e88a4084f0ca57e2c2aba604e1321347a021b (patch)
treede79010942d0f095519fea5f9470fbb539ec65bc
parentda0c02eee173701ed0a055adda040ec596812045 (diff)
downloadglibc-231e88a4084f0ca57e2c2aba604e1321347a021b.tar.gz
glibc-231e88a4084f0ca57e2c2aba604e1321347a021b.tar.xz
glibc-231e88a4084f0ca57e2c2aba604e1321347a021b.zip
Update.
2003-07-10  Ulrich Drepper  <drepper@redhat.com>

	* Makeconfig (CFLAGS-.oS): Use PIC-ccflag instead of pic-ccflag.
	(PIC-ccflag): Define.
-rw-r--r--ChangeLog5
-rw-r--r--Makeconfig4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ceb899296..1c8813b439 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-10  Ulrich Drepper  <drepper@redhat.com>
+
+	* Makeconfig (CFLAGS-.oS): Use PIC-ccflag instead of pic-ccflag.
+	(PIC-ccflag): Define.
+
 2003-07-04  Jakub Jelinek  <jakub@redhat.com>
 
 	* sysdeps/s390/s390-32/elf/start.S: Emit position independent code
diff --git a/Makeconfig b/Makeconfig
index fdf4206bb6..9755aa99ac 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -669,6 +669,8 @@ CFLAGS-.os = $(filter %frame-pointer,$(+cflags)) $(pic-ccflag)
 libtype.os := lib%_pic.a
 # This can be changed by a sysdep makefile
 pic-ccflag = -fPIC
+# This one should always stay like this unless there is a very good reason.
+PIC-ccflag = -fPIC
 endif
 ifeq (yes,$(build-profile))
 # Under --enable-profile, we will build a static library of profiled objects.
@@ -711,7 +713,7 @@ object-suffixes-for-libc += .oS
 # Must build the routines as PIC, though, because they can end up in (users')
 # shared objects.  We don't want to use CFLAGS-os because users may, for
 # example, make that processor-specific.
-CFLAGS-.oS = $(CFLAGS-.o) $(pic-ccflag)
+CFLAGS-.oS = $(CFLAGS-.o) $(PIC-ccflag)
 CPPFLAGS-.oS = $(CPPFLAGS-.o) -DPIC -DLIBC_NONSHARED=1
 libtype.oS = lib%_nonshared.a
 endif