Lines Matching full:sysroot
105 local ARCH BINPREFIX SYSROOT GNUSTL_SRCDIR
138 SYSROOT=$NDK_DIR/$(get_default_platform_sysroot_for_arch $ARCH)
140 if [ ! -f "$SYSROOT/usr/lib/libc.a" ]; then
141 echo "ERROR: Empty sysroot! you probably need to run gen-platforms.sh before this script."
144 if [ ! -f "$SYSROOT/usr/lib/libc.so" ]; then
145 echo "ERROR: Sysroot misses shared libraries! you probably need to run gen-platforms.sh"
166 export CFLAGS="-fPIC $CFLAGS --sysroot=$SYSROOT -fexceptions -funwind-tables -D__BIONIC__ -O2 $EXTRA_FLAGS"
167 export CXXFLAGS="-fPIC $CXXFLAGS --sysroot=$SYSROOT -fexceptions -frtti -funwind-tables -D__BIONIC__ -O2 $EXTRA_FLAGS"
168 export CPPFLAGS="$CPPFLAGS --sysroot=$SYSROOT"
180 export LDFLAGS="-L$SYSROOT/usr/lib -lc $EXTRA_FLAGS"