Enable PIE for Android build

This commit is contained in:
Tatsuhiro Tsujikawa 2015-04-09 23:30:12 +09:00
parent 37a631278f
commit 6ca24264e4
1 changed files with 2 additions and 2 deletions

View File

@ -42,6 +42,6 @@ PATH=$TOOLCHAIN/bin:$PATH
--enable-werror \ --enable-werror \
CC=clang \ CC=clang \
CXX=clang++ \ CXX=clang++ \
CPPFLAGS="-I$PREFIX/include" \ CPPFLAGS="-fPIE -I$PREFIX/include" \
PKG_CONFIG_LIBDIR="$PREFIX/lib/pkgconfig" \ PKG_CONFIG_LIBDIR="$PREFIX/lib/pkgconfig" \
LDFLAGS="-L$PREFIX/lib" LDFLAGS="-fPIE -pie -L$PREFIX/lib"