view strip_fPIC.sh @ 382:74bdcae44bf5

Date: Wed, 29 May 2002 17:37:19 +0200 From: Denis Oliver Kropp <dok@directfb.org> Subject: DirectFB 0.9.11 Hi, we had some API enhancements in keyboard handling. We support full unicode now and have support for keyboard mappings. I've attached a patch to have SDL compile with the upcoming (monday?) DirectFB 0.9.11.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 29 May 2002 20:47:19 +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