accept text relocations on i386 because of non-PIC assembly code

This commit is contained in:
naddy 2018-11-13 19:40:51 +00:00
parent d36ae6af5f
commit fefc589d4c

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.23 2017/11/21 00:13:02 naddy Exp $
# $OpenBSD: Makefile,v 1.24 2018/11/13 19:40:51 naddy Exp $
COMMENT= Quasar DV codec
@ -27,4 +27,8 @@ CONFIGURE_ARGS= --disable-sdl \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if ${MACHINE_ARCH} == "i386"
MAKE_FLAGS+= libdv_la_LIBADD=-Wl,-znotext
.endif
.include <bsd.port.mk>