Mercurial > sdl-ios-xcode
changeset 22:48c34d68918e
Fixed to work on Solaris x86
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 10 May 2001 20:19:50 +0000 |
parents | 75a95f82bc1f |
children | 6d1025a73e69 |
files | strip_fPIC.sh |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/strip_fPIC.sh Thu May 10 20:13:29 2001 +0000 +++ b/strip_fPIC.sh Thu May 10 20:19:50 2001 +0000 @@ -4,11 +4,14 @@ # This isn't always true (for example, nasm can't handle it) command="" while [ $# -gt 0 ]; do - if [ "$1" != "-fPIC" ]; then - if [ "$1" != "-DPIC" ]; then + case "$1" in + -?PIC) + # Ignore -fPIC and -DPIC options + ;; + *) command="$command $1" - fi - fi + ;; + esac shift done echo $command