projects
/
platform
/
upstream
/
flac.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
big fix to allow codec and metadata interface to handle unknown metadata block types...
[platform/upstream/flac.git]
/
strip_fPIC.sh
1
#!/bin/sh
2
#
3
# libtool assumes that the compiler can handle the -fPIC flag
4
# This isn't always true (for example, nasm can't handle it)
5
command=""
6
while [ $1 ]; do
7
if [ "$1" != "-fPIC" ]; then
8
if [ "$1" != "-DPIC" ]; then
9
command="$command $1"
10
fi
11
fi
12
shift
13
done
14
echo $command
15
exec $command