Use linker directly to to avoid linker errors.
This commit is contained in:
parent
bf55026a71
commit
8b3bf7d064
|
@ -8,8 +8,8 @@ set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
TARGET=${TARGET:-"aarch64-linux-android"}
|
TARGET=${TARGET:-"aarch64-linux-android"}
|
||||||
LD=${LD:-"${MAGICLEAP_SDK}/tools/toolchains/bin/${TARGET}-gcc"}
|
LD=${LD:-"${MAGICLEAP_SDK}/tools/toolchains/bin/${TARGET}-ld"}
|
||||||
LDFLAGS=${LDFLAGS:-"--sysroot=${MAGICLEAP_SDK}/lumin -L${MAGICLEAP_SDK}/tools/toolchains/lib/gcc/${TARGET}/4.9.x ${MAGICLEAP_SDK}/lumin/usr/lib/crtbegin_so.o"}
|
LDFLAGS=${LDFLAGS:-"--sysroot=${MAGICLEAP_SDK}/lumin -L${MAGICLEAP_SDK}/lumin/usr/lib -L${MAGICLEAP_SDK}/tools/toolchains/lib/gcc/${TARGET}/4.9.x ${MAGICLEAP_SDK}/lumin/usr/lib/crtbegin_so.o"}
|
||||||
|
|
||||||
# Remove the -landroid flag, grr
|
# Remove the -landroid flag, grr
|
||||||
ARGS=("$@")
|
ARGS=("$@")
|
||||||
|
|
Loading…
Reference in New Issue