mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Don't pass -pie when linking a dylib on gonk
This commit is contained in:
parent
e2e142aae8
commit
a15acef4c8
1 changed files with 8 additions and 1 deletions
|
@ -1,2 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
arm-linux-androideabi-g++ $@ $LDFLAGS -pie -lGLESv2 -L$GONKDIR/backup-flame/system/lib/
|
|
||||||
|
# Add the position-independent executable flag if not building a shared lib.
|
||||||
|
if echo $@ | grep -qv " -shared"
|
||||||
|
then
|
||||||
|
PIE_FLAG="-pie"
|
||||||
|
fi
|
||||||
|
$PIE_FLAG
|
||||||
|
arm-linux-androideabi-g++ $@ $LDFLAGS $PIE_FLAG -lGLESv2 -L$GONKDIR/backup-flame/system/lib/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue