summaryrefslogtreecommitdiff
path: root/contrib/SDL-3.2.8/build-scripts/strip_fPIC.sh
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-03-06 13:30:59 -0800
committer3gg <3gg@shellblade.net>2026-03-06 13:30:59 -0800
commit30f41c02aec763d32e62351452da9ef582bc3472 (patch)
tree6bec3f65bfdcbf7f1a631da21a6d613bef5db2fa /contrib/SDL-3.2.8/build-scripts/strip_fPIC.sh
parent452ff21ca02e315c64ceeb3f21c1ea357aeb1bc8 (diff)
Move contrib libraries to contrib repo
Diffstat (limited to 'contrib/SDL-3.2.8/build-scripts/strip_fPIC.sh')
-rwxr-xr-xcontrib/SDL-3.2.8/build-scripts/strip_fPIC.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/contrib/SDL-3.2.8/build-scripts/strip_fPIC.sh b/contrib/SDL-3.2.8/build-scripts/strip_fPIC.sh
deleted file mode 100755
index 8719b89..0000000
--- a/contrib/SDL-3.2.8/build-scripts/strip_fPIC.sh
+++ /dev/null
@@ -1,21 +0,0 @@
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)
5command=""
6while [ $# -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
19done
20echo $command
21exec $command