summaryrefslogtreecommitdiff
path: root/community/madman/fake-g++.sh
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/madman/fake-g++.sh
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/madman/fake-g++.sh')
-rwxr-xr-xcommunity/madman/fake-g++.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/madman/fake-g++.sh b/community/madman/fake-g++.sh
new file mode 100755
index 000000000..17da66d5a
--- /dev/null
+++ b/community/madman/fake-g++.sh
@@ -0,0 +1,7 @@
+#!/bin/sh -x
+
+Q=`echo "$*" | sed 's|- p t h r e a d|-pthread|'`
+
+echo "$Q" | grep 'lmp4ff' && Q="$Q /usr/lib/libmp4ff.a"
+
+exec /bin/g++ $Q