summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/Makefile.inc
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2015-02-16 22:13:03 +0000
committermarius <marius@FreeBSD.org>2015-02-16 22:13:03 +0000
commitc837ced420d36bb44aa12f15749bc30169acadb1 (patch)
tree7f369d79915be9316196f4c65a35dd617518389b /lib/libc/sys/Makefile.inc
parent7a89c3df60c118e7db4f53fb2e76d3775e0d3097 (diff)
downloadFreeBSD-src-c837ced420d36bb44aa12f15749bc30169acadb1.zip
FreeBSD-src-c837ced420d36bb44aa12f15749bc30169acadb1.tar.gz
Unbreak sparc64 after r276630 by calling __sparc_sigtramp_setup signal
trampoline as part of the MD __sys_sigaction again. Submitted by: kib (initial versions) MFC after: 3 days
Diffstat (limited to 'lib/libc/sys/Makefile.inc')
-rw-r--r--lib/libc/sys/Makefile.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index e8ec58e..0edf644 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -65,7 +65,6 @@ INTERPOSED = \
sendmsg \
sendto \
setcontext \
- sigaction \
sigprocmask \
sigsuspend \
sigtimedwait \
@@ -76,6 +75,13 @@ INTERPOSED = \
write \
writev
+.if ${MACHINE_CPUARCH} == "sparc64"
+SRCS+= sigaction.c
+NOASM+= sigaction.o
+.else
+INTERPOSED+= sigaction
+.endif
+
SRCS+= ${INTERPOSED:S/$/.c/}
NOASM+= ${INTERPOSED:S/$/.o/}
PSEUDO+= ${INTERPOSED:C/^.*$/_&.o/}
OpenPOWER on IntegriCloud