aboutsummaryrefslogtreecommitdiff
path: root/www/py-primp/files/cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-primp/files/cc')
-rwxr-xr-xwww/py-primp/files/cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/py-primp/files/cc b/www/py-primp/files/cc
new file mode 100755
index 000000000000..519a39883101
--- /dev/null
+++ b/www/py-primp/files/cc
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+NEW_CMD="/usr/bin/cc"
+
+for a in "$@"; do
+ if [ "$a" != "-lstdc++" ]; then
+ NEW_CMD="$NEW_CMD $a"
+ fi
+done
+
+$NEW_CMD