/[projet1]/public/pc/emulators/caloric/libs_windows/SDL/build-scripts/strip_fPIC.sh
Defence Force logotype

Contents of /public/pc/emulators/caloric/libs_windows/SDL/build-scripts/strip_fPIC.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 81 - (show annotations)
Wed May 27 20:33:03 2009 UTC (10 years, 3 months ago) by Jede
File MIME type: application/x-sh
File size: 454 byte(s)
Ajouts des libs windows
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

  ViewVC Help
Powered by ViewVC 1.1.26