-# $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 \
ar x `$(CC) -print-libgcc-file-name` ${MDOBJ}
OBJS+=${MDOBJ}
-LD_SCRIPT = ${.CURDIR}/${MACHINE_CPU}/ld.script
-
RELATIVE_RELOC=R_SH_RELATIVE