Improve Android pause/resume behavior.

This commit is contained in:
Gabriel Jacobo
2013-11-29 10:06:08 -03:00
commit f848adff5f
1732 changed files with 451805 additions and 0 deletions

21
build-scripts/strip_fPIC.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/sh
#
# libtool assumes that the compiler can handle the -fPIC flag
# This isn't always true (for example, nasm can't handle it)
command=""
while [ $# -gt 0 ]; do
case "$1" in
-?PIC)
# Ignore -fPIC and -DPIC options
;;
-fno-common)
# Ignore -fPIC and -DPIC options
;;
*)
command="$command $1"
;;
esac
shift
done
echo $command
exec $command