about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2003-01-05 17:16:17 +0000
committerAndreas Schwab <schwab@suse.de>2003-01-05 17:16:17 +0000
commitc711d9d22a2ca6730116b7398870ed1e7be23ce2 (patch)
treef101bd4d80ef771fa80f0c3f47ac77942067c40d /linuxthreads
parentc52a5fb98e4f5b00a8836dda2ad7cac40f38a2fc (diff)
downloadglibc-c711d9d22a2ca6730116b7398870ed1e7be23ce2.tar.gz
glibc-c711d9d22a2ca6730116b7398870ed1e7be23ce2.tar.xz
glibc-c711d9d22a2ca6730116b7398870ed1e7be23ce2.zip
* sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog3
-rw-r--r--linuxthreads/sysdeps/m68k/Makefile7
2 files changed, 10 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index ebf9b56285..e4b4ae25cf 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,5 +1,8 @@
 2003-01-05  Andreas Schwab  <schwab@suse.de>
 
+	* sysdeps/m68k/Makefile: New file, use -fPIC for nonshared
+	objects.
+
 	* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (SINGLE_THREAD_P):
 	Fix for PIC.
 	(CENABLE): Likewise.
diff --git a/linuxthreads/sysdeps/m68k/Makefile b/linuxthreads/sysdeps/m68k/Makefile
new file mode 100644
index 0000000000..1cd27d44ca
--- /dev/null
+++ b/linuxthreads/sysdeps/m68k/Makefile
@@ -0,0 +1,7 @@
+ifeq ($(subdir), linuxthreads)
+object-suffixes-left := $(libpthread-nonshared)
+define o-iterator-doit
+$(objpfx)$o.os: pic-ccflag = -fPIC
+endef
+include $(o-iterator)
+endif