aboutsummaryrefslogtreecommitdiff
path: root/multimedia/dav1d
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-01-08 15:17:29 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-01-08 15:17:29 +0000
commita425c2eb2afe9873e8b00f9daf67e02ef8e41332 (patch)
treeff2682e5c5e3597669e58c140a942d676243782c /multimedia/dav1d
parent45cef3cafbfacf524018ef45a1b576e18ce10d10 (diff)
downloadports-a425c2eb2afe9873e8b00f9daf67e02ef8e41332.tar.gz
ports-a425c2eb2afe9873e8b00f9daf67e02ef8e41332.zip
multimedia/dav1d: unbreak with LLD on i386
ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in src/25a6634@@dav1d@sha/mc_ssse3.obj >>> referenced by ../src/x86/mc_ssse3.asm >>> src/25a6634@@dav1d@sha/mc_ssse3.obj:(.text+0x16) Reported by: antoine (via emaste, bug 214864 exp-run)
Notes
Notes: svn path=/head/; revision=489697
Diffstat (limited to 'multimedia/dav1d')
-rw-r--r--multimedia/dav1d/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/multimedia/dav1d/Makefile b/multimedia/dav1d/Makefile
index ce022e2b0c34..29618a5d8598 100644
--- a/multimedia/dav1d/Makefile
+++ b/multimedia/dav1d/Makefile
@@ -31,6 +31,7 @@ CONFIGURE_ENV= UNAME_m=${ARCH} # XXX cpu_family()
CFLAGS_aarch64= -no-integrated-as
CFLAGS_armv6= -no-integrated-as -B${LOCALBASE}/bin
CFLAGS_armv7= -no-integrated-as -B${LOCALBASE}/bin
+LDFLAGS_i386= -Wl,-z,notext
OPTIONS_DEFINE= TEST