aboutsummaryrefslogtreecommitdiff
path: root/strip_fPIC.sh
diff options
context:
space:
mode:
Diffstat (limited to 'strip_fPIC.sh')
-rw-r--r--strip_fPIC.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/strip_fPIC.sh b/strip_fPIC.sh
deleted file mode 100644
index 6edacd2..0000000
--- a/strip_fPIC.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/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