mirror of https://github.com/aria2/aria2
android: Build PIE
parent
3844701085
commit
f910c6f782
|
@ -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…
Reference in New Issue