view strip_fPIC.sh @ 1164:10b3fb28c86b

Date: Mon, 31 Oct 2005 14:23:34 +0100 From: Thomas Omilian <paccy@arcor.de> To: sdl@libsdl.org Subject: [SDL] SDL_SoftStretch() fixed! Ok, after debugging the night I found the error: in video/SDL_stretch.c in Line 81 /* See if we need to regenerate the copy buffer */ if ( (src_w == last.src_w) && (dst_w == last.src_w) && (bpp == last.bpp) ) { return(0); } the second comparison should be (dst_w == last dst_w). Perhaps someone could apply it to the source... Regards, Thomas Omilian
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 01 Nov 2005 04:14:24 +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