diff --git a/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile b/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile index febed8c20e..a03d358672 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile +++ b/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile @@ -6,6 +6,6 @@ before-compile += $(objpfx)specs generated += specs $(objpfx)specs: $(CC) $(CFLAGS) $(CPPFLAGS) -dumpspecs \ - | sed 's,\(/usr/lib\(\|64\)/\|^\|\([^/a-z]\)\)\(crt[in]\.o\),\3./\4,g' > $@.new + | sed 's~\(/usr/lib\(\|64\)/\|^\|\([^/a-z]\)\)\(crt[in]\.o\)~\3'$(objpfx)'\4~g' > $@.new mv -f $@.new $@ endif diff --git a/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile new file mode 100644 index 0000000000..90203051ae --- /dev/null +++ b/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile @@ -0,0 +1,5 @@ +# glibc makefile fragment for linuxthreads on sparc/sparc64. + +ifeq ($(subdir),linuxthreads) +libpthread-routines += ptw-sigprocmask +endif