about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-08-04 21:35:51 +0000
committerRoland McGrath <roland@gnu.org>2005-08-04 21:35:51 +0000
commit8dd5f2edc74be8a6270e706a1f999c8af6be90fb (patch)
tree816c90fc8d41c8648f4785489d36e169e61bf4e8 /sysdeps
parentc1950ac6f8b8443e67e39777a265f1c23cc129ec (diff)
downloadglibc-8dd5f2edc74be8a6270e706a1f999c8af6be90fb.tar.gz
glibc-8dd5f2edc74be8a6270e706a1f999c8af6be90fb.tar.xz
glibc-8dd5f2edc74be8a6270e706a1f999c8af6be90fb.zip
[BZ #1137]
2005-08-03  Dwayne Grant McConnell  <dgm69@us.ibm.com>
	* sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
	Use +=, not =, to append.  Remove duplicate flags.
	* sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
	Likewise.  Fix comments.

	[BZ #1137]
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/powerpc32/Makefile2
-rw-r--r--sysdeps/powerpc/powerpc64/Makefile6
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/powerpc/powerpc32/Makefile b/sysdeps/powerpc/powerpc32/Makefile
index 82b4fc95f9..1d58a063d6 100644
--- a/sysdeps/powerpc/powerpc32/Makefile
+++ b/sysdeps/powerpc/powerpc32/Makefile
@@ -21,7 +21,7 @@ ifeq ($(subdir),csu)
 ifneq ($(elf),no)
 # The initfini generation code doesn't work in the presence of -fPIC, so
 # we use -fpic instead which is much better.
-CFLAGS-initfini.s = -g0 -fpic -O1
+CFLAGS-initfini.s += -fpic -O1
 
 # There is no benefit to using sdata for these objects, and the user
 # of the library should be able to control what goes into sdata.
diff --git a/sysdeps/powerpc/powerpc64/Makefile b/sysdeps/powerpc/powerpc64/Makefile
index 3ced6568df..cf29148ff3 100644
--- a/sysdeps/powerpc/powerpc64/Makefile
+++ b/sysdeps/powerpc/powerpc64/Makefile
@@ -12,9 +12,9 @@ endif
 
 ifeq ($(subdir),csu)
 ifneq ($(elf),no)
-# The initfini generation code doesn't work in the presence of -g1 or
-# higher, so we use -g0.
-CFLAGS-initfini.s = -g0 -fpic -O1
+# The initfini generation code doesn't work in the presence of -fPIC, so
+# we use -fpic instead which is much better.
+CFLAGS-initfini.s += -fpic -O1
 endif
 endif