summaryrefslogtreecommitdiff
path: root/ld-gnu-to-sun
diff options
context:
space:
mode:
Diffstat (limited to 'ld-gnu-to-sun')
-rwxr-xr-xld-gnu-to-sun4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld-gnu-to-sun b/ld-gnu-to-sun
index 0a5e083..aae278c 100755
--- a/ld-gnu-to-sun
+++ b/ld-gnu-to-sun
@@ -11,6 +11,10 @@ while [ $# -ne 0 ]; do
# Sun ld does not need it, and -m options has different meaning:
-m) shift || true;;
+ # ignore all plugins (gcc >= 4.9)
+ -plugin) shift || true;;
+ -plugin-opt=*);;
+
# Ignore long options, Sun ld does not support long options at all:
--*) ;;