Enable PIE for Android build
This commit is contained in:
parent
37a631278f
commit
6ca24264e4
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue