diff options
author | marius <marius@FreeBSD.org> | 2015-02-24 22:28:44 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2015-02-24 22:28:44 +0000 |
commit | 41a96ed99bbd2897e1de81b52b0eec6640b7f637 (patch) | |
tree | 11395f5d6d059d6c4a040e987a23f2f94f95243f /lib/libc/sys/Makefile.inc | |
parent | 224ab7ed88d3de7a8975d08e2dc8dbc056b79549 (diff) | |
download | FreeBSD-src-41a96ed99bbd2897e1de81b52b0eec6640b7f637.zip FreeBSD-src-41a96ed99bbd2897e1de81b52b0eec6640b7f637.tar.gz |
MFC: r278870
Unbreak sparc64 after r276630 (MFCed to stable/10 in r277317) by calling
__sparc_sigtramp_setup signal trampoline as part of the MD __sys_sigaction
again.
Submitted by: kib (initial versions)
Diffstat (limited to 'lib/libc/sys/Makefile.inc')
-rw-r--r-- | lib/libc/sys/Makefile.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index e6f127d..b4501b7 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -61,7 +61,6 @@ INTERPOSED = \ sendmsg \ sendto \ setcontext \ - sigaction \ sigprocmask \ sigsuspend \ sigtimedwait \ @@ -72,6 +71,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/} |