diff options
author | 2018-12-30 21:55:07 +0000 | |
---|---|---|
committer | 2018-12-30 21:55:07 +0000 | |
commit | 40386848786ba37e3be796c27fd745ce9223fa19 (patch) | |
tree | 8c29fbd30b01ac574091f270688a3735acbad63e | |
parent | Increase the reset timeout. The ROCK64 RK3328-based board seems to need a (diff) | |
download | wireguard-openbsd-40386848786ba37e3be796c27fd745ce9223fa19.tar.xz wireguard-openbsd-40386848786ba37e3be796c27fd745ce9223fa19.zip |
Define SOLIB when assembling for a shared-object library
ok tedu@
-rw-r--r-- | share/mk/bsd.lib.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index abe6060625a..0d9ffdba88e 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.lib.mk,v 1.94 2018/10/18 14:25:14 naddy Exp $ +# $OpenBSD: bsd.lib.mk,v 1.95 2018/12/30 21:55:07 guenther Exp $ # $NetBSD: bsd.lib.mk,v 1.67 1996/01/17 20:39:26 mycroft Exp $ # @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 @@ -123,9 +123,9 @@ AFLAGS+= ${NOPIE_FLAGS} @rm -f ${.TARGET}.o .S.so .s.so: - @echo "${COMPILE.S} ${PICFLAG} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} \ + @echo "${COMPILE.S} ${PICFLAG} -DSOLIB ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} \ -o ${.TARGET}" - @${COMPILE.S} ${DFLAGS} -MF $@.d ${PICFLAG} ${CFLAGS:M-[IDM]*} \ + @${COMPILE.S} ${DFLAGS} -MF $@.d ${PICFLAG} -DSOLIB ${CFLAGS:M-[IDM]*} \ ${AINC} ${.IMPSRC} -o ${.TARGET}.o @-mv $@.d $*.d @${LD} -X -r ${.TARGET}.o -o ${.TARGET} |