mirror of
https://github.com/aria2/aria2.git
synced 2025-04-04 21:17:41 +03:00
android: Build PIE
This commit is contained in:
parent
3844701085
commit
f910c6f782
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ PATH=$TOOLCHAIN/bin:$PATH
|
|||
--with-libz --with-libz-prefix=$PREFIX \
|
||||
CXXFLAGS="-Os -g" \
|
||||
CFLAGS="-Os -g" \
|
||||
LDFLAGS="-L$PREFIX/lib" \
|
||||
CPPFLAGS="-fPIE" \
|
||||
LDFLAGS="-fPIE -pie -L$PREFIX/lib" \
|
||||
PKG_CONFIG_LIBDIR="$PREFIX/lib/pkgconfig" \
|
||||
ZLIB_LIBS="-lz" \
|
||||
ZLIB_CFLAGS="-I$TOOLCHAIN/sysroot/usr/include"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue