Bug 777948 - Enable position-independent executables on B2G (>= JB 4.1). r=mwu

This commit is contained in:
Jed Davis 2014-12-12 14:33:00 -05:00
parent 12f77174b4
commit 108d4524d5

View File

@ -334,7 +334,11 @@ fi
# Even after dropping 10.6 support, MOZ_PIE would not be useful since it's the
# default (and clang says the -pie option is not used).
# On other Unix systems, some file managers (Nautilus) can't start PIE programs
MOZ_PIE=
if test -n "$gonkdir" -a "$ANDROID_VERSION" -ge 16; then
MOZ_PIE=1
else
MOZ_PIE=
fi
MOZ_ARG_ENABLE_BOOL(pie,
[ --enable-pie Enable Position Independent Executables],