From 6b8783ca1a2e57ae3703cf58446c702ced49a1e0 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 11 Aug 2020 03:23:47 +0000 Subject: [PATCH] fix path for testing if a .S exists --- gnu/lib/libcompiler_rt/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/lib/libcompiler_rt/Makefile b/gnu/lib/libcompiler_rt/Makefile index 1e22f812d64..f7d746e5063 100644 --- a/gnu/lib/libcompiler_rt/Makefile +++ b/gnu/lib/libcompiler_rt/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2020/08/10 21:08:26 patrick Exp $ +# $OpenBSD: Makefile,v 1.2 2020/08/11 03:23:47 jsg Exp $ .include @@ -184,7 +184,7 @@ GEN_SRCS+= floatdidf \ .endif .for file in ${GEN_SRCS} -. if exists(${.CURDIR}/${RTARCH}/${file}.S) +. if exists(${.CURDIR}/../../llvm/compiler-rt/lib/builtins/${RTARCH}/${file}.S) SRCS+= ${file}.S . else SRCS+= ${file}.c