view strip_fPIC.sh @ 1147:b580f7201543

From: "Alex Volkov" <avcp-sdlmail@usa.net> To: "'A list for developers using the SDL library. \(includesSDL-announce\)'" <sdl@libsdl.org> Date: Mon, 19 Sep 2005 18:59:43 -0400 Subject: [SDL] [patch] Volume multiplier bug in The volume multiplier in SDL_MixAudio_MMX_S8() is formed from the wrong register.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 27 Sep 2005 12:14:17 +0000
parents 48c34d68918e
children
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
            ;;
        *)
            command="$command $1"
            ;;
    esac
    shift
done
echo $command
exec $command