blob: a1fb482334c7efd268b24fb8bccb5a5124a51500 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# $OpenBSD: Makefile.inc,v 1.9 2019/10/20 03:44:49 guenther Exp $
CFLAGS += -fpic
CFLAGS+=-m4-nofpu
AFLAGS += -D_STANDALONE
# extract components from libgcc.a
MDOBJ= _divdi3.o _clz.o _udiv_qrnnd_16.o _udivsi3_i4.o _udivdi3.o \
_sdivsi3.o _udivsi3.o
${MDOBJ}:
ar x `$(CC) -print-libgcc-file-name` ${MDOBJ}
OBJS+=${MDOBJ}
RELATIVE_RELOC=R_SH_RELATIVE
|