From e170dc1898506d5c0ce2e641ff73a535a45b1336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Thu, 22 Oct 2015 19:07:35 +0300 Subject: [PATCH] Allow multiple symbol defs to work around NDK issues. --- docker/base/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/base/build.sh b/docker/base/build.sh index d5bd038..5d75e46 100644 --- a/docker/base/build.sh +++ b/docker/base/build.sh @@ -122,7 +122,7 @@ for TARGET in $TARGETS; do if [ "$PLATFORM" -ge 16 ]; then CGO_CCPIE="-fPIE" CGO_LDPIE="-fPIE" - EXT_LDPIE="-extldflags=-pie" + EXT_LDPIE="-extldflags=-pie -extldflags=-Wl,--allow-multiple-definition" else unset CGO_CCPIE CGO_LDPIE EXT_LDPIE fi