065ccce6e9
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81299 e17a0e51-4ae3-4d35-97c3-1a29b211df97
16 lines
328 B
Bash
Executable File
16 lines
328 B
Bash
Executable File
#!/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 [ $1 ]; do
|
|
if [ "$1" != "-fPIC" ]; then
|
|
if [ "$1" != "-DPIC" ]; then
|
|
command="$command $1"
|
|
fi
|
|
fi
|
|
shift
|
|
done
|
|
echo $command
|
|
exec $command
|