diff options
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | ld-gnu-to-sun | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 18fa8c5..c465ed3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +dh-illumos (9.5.11) unstable; urgency=medium + + * ld-gnu-to-sun: filter out -plugin options + + -- Igor Pashev <pashev.igor@gmail.com> Mon, 11 Aug 2014 14:06:53 +0400 + dh-illumos (9.5.10) unstable; urgency=medium * dh_illumos_gate: use -L instead of -YP in LDLIBS32 and LDLIBS64, so that 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: --*) ;; |