From 7a8397400c353b2c8358462afbecc470d57c5ec8 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 11 Jan 2023 16:33:36 +0000 Subject: [PATCH] put LD_SCRIPT in the canonical location --- libexec/ld.so/sh/Makefile.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libexec/ld.so/sh/Makefile.inc b/libexec/ld.so/sh/Makefile.inc index 1a7f913531b..3fafd23fb22 100644 --- a/libexec/ld.so/sh/Makefile.inc +++ b/libexec/ld.so/sh/Makefile.inc @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile.inc,v 1.10 2023/01/11 16:31:46 miod Exp $ +# $OpenBSD: Makefile.inc,v 1.11 2023/01/11 16:33:36 deraadt Exp $ CFLAGS += -fpic CFLAGS+=-m4-nofpu AFLAGS += -D_STANDALONE +LD_SCRIPT = ${.CURDIR}/${MACHINE_CPU}/ld.script # extract components from libgcc.a MDOBJ= _divdi3.o _clz.o _udiv_qrnnd_16.o _udivsi3_i4.o _udivdi3.o \ @@ -11,6 +12,4 @@ ${MDOBJ}: ar x `$(CC) -print-libgcc-file-name` ${MDOBJ} OBJS+=${MDOBJ} -LD_SCRIPT = ${.CURDIR}/${MACHINE_CPU}/ld.script - RELATIVE_RELOC=R_SH_RELATIVE -- 2.20.1