repo.or.cz
/
SDL.s60v3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove ENoScreenFurniture from BaseConstructL.
[SDL.s60v3.git]
/
build-scripts
/
strip_fPIC.sh
blob
8719b896e5cf77c36cec75efcc0c624607d9a73e
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
[
$#
-gt
0
];
do
7
case
"
$1
"
in
8
-
?PIC
)
9
# Ignore -fPIC and -DPIC options
10
;;
11
-fno-common
)
12
# Ignore -fPIC and -DPIC options
13
;;
14
*)
15
command
=
"
$command
$1
"
16
;;
17
esac
18
shift
19
done
20
echo
$command
21
exec
$command