From 298caec6c7b32f02fd954e7d9a55ddc487002f57 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 14 Feb 2018 03:37:39 +0000 Subject: [PATCH] need -lrt for shm_{open,close} --- external/gpl3/gcc/lib/libubsan/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/external/gpl3/gcc/lib/libubsan/Makefile b/external/gpl3/gcc/lib/libubsan/Makefile index dc39d45ba52e..981123cc29b8 100644 --- a/external/gpl3/gcc/lib/libubsan/Makefile +++ b/external/gpl3/gcc/lib/libubsan/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2018/02/04 01:16:33 mrg Exp $ +# $NetBSD: Makefile,v 1.5 2018/02/14 03:37:39 christos Exp $ UNSUPPORTED_COMPILER.clang= # defined @@ -28,6 +28,7 @@ COPTS.${_s}.cc+=-frtti LIB= ubsan SRCS+= ${UBSAN_SRCS} +LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt .if ${MACHINE_ARCH} == "vax" COPTS += -O1