shithub: scc

Download patch

ref: c12769c0bab4525e8f34ea63296cd3a2feb1bc32
parent: b868a47d2e43c8f622f2a0f65a926dd1c6c33a96
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Aug 27 15:32:02 EDT 2018

[lib/c] Add signal.o to OpenBSD

The implementation of signal is the same in almost every posix
system.

--- a/lib/c/target/amd64-sysv-openbsd/Makefile
+++ b/lib/c/target/amd64-sysv-openbsd/Makefile
@@ -5,7 +5,7 @@
 
 SYSNAME    = amd64-sysv-netbsd
 SCC_CFLAGS = -static -nostdinc -I$(INCDIR) -I$(INCDIR)/bits/amd64-sysv/ -I.
-SYSOBJ = raise.o
+SYSOBJ     = raise.o signal.o
 
 include syscall.mk
 include ../script/objlst.mk
@@ -12,3 +12,4 @@
 include ../script/common.mk
 
 raise.o: ../posix/raise.c ../../syscall.h
+signal.o: ../posix/signal.c ../../syscall.h