Mercurial > sdl-ios-xcode
view build-scripts/strip_fPIC.sh @ 3167:0c85abc61e47
Added a #ifndef SDL_NO_COMPAT around SDL_ActiveEvent and SDL_ResizeEvent so that code
that has a #defien SDL_NO_COMPAT before the #include SDL.h with not be able to use
these obsolete events.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Fri, 05 Jun 2009 23:36:00 +0000 |
parents | 5225a9cc25a2 |
children | 27fe0dd48269 |
line wrap: on
line source
#!/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