summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/SDL2/build-scripts/strip_fPIC.sh
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/SDL2/build-scripts/strip_fPIC.sh')
-rw-r--r--3rdparty/SDL2/build-scripts/strip_fPIC.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/3rdparty/SDL2/build-scripts/strip_fPIC.sh b/3rdparty/SDL2/build-scripts/strip_fPIC.sh
deleted file mode 100644
index 8719b896e5c..00000000000
--- a/3rdparty/SDL2/build-scripts/strip_fPIC.sh
+++ /dev/null
@@ -1,21 +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 [ $# -gt 0 ]; do
- case "$1" in
- -?PIC)
- # Ignore -fPIC and -DPIC options
- ;;
- -fno-common)
- # Ignore -fPIC and -DPIC options
- ;;
- *)
- command="$command $1"
- ;;
- esac
- shift
-done
-echo $command
-exec $command