summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-03 02:45:12 +0000
committerRoland McGrath <roland@gnu.org>2002-09-03 02:45:12 +0000
commita2c396f8a991e93cd606fdb9e3b4ca91fa652730 (patch)
treeef9dfd31403a02a7f206aeebe7926d2111ce312f /sysdeps/powerpc/Makefile
parenta37a5055dca6522713f41c40ecb5c5ab9741e733 (diff)
downloadglibc-a2c396f8a991e93cd606fdb9e3b4ca91fa652730.tar.gz
* sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call
__pthread_initialize_minimal and __libc_check_standard_fds to match the generic version. * sysdeps/powerpc/Makefile (CFLAGS-pt-initfini.s): New variable. * sysdeps/unix/sysv/linux/shmat.c (shmat): Add a cast to avoid a warning when INLINE_SYSCALL macro uses the __syscall_ipc function. * locale/localeconv.c (__localeconv): Cast -1 to char to avoid warnings on platorms where char is unsigned.
Diffstat (limited to 'sysdeps/powerpc/Makefile')
-rw-r--r--sysdeps/powerpc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile
index 0737f6f2d3..e6444f2b70 100644
--- a/sysdeps/powerpc/Makefile
+++ b/sysdeps/powerpc/Makefile
@@ -46,6 +46,11 @@ shared-only-routines += divdi3 libgcc-compat
endif
endif
+ifeq ($(subdir):$(elf),linuxthreads:yes)
+# See CFLAGS-initfini.s above; this is the same code.
+CFLAGS-pt-initfini.s = -g0 -fpic -O1
+endif
+
ifeq ($(subdir),string)
CFLAGS-memcmp.c += -Wno-uninitialized
endif