summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-08-11 14:07:05 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-08-11 14:07:05 +0400
commit383069134eb198ba07e3fd48904c3267f6578811 (patch)
treef8876a3890c9f961f7452ef193200fab7106979a
parent2ccf76885ebca7dc60a3d9d205dc67ee3b94c332 (diff)
downloaddh-illumos-383069134eb198ba07e3fd48904c3267f6578811.tar.gz
dh-illumos (9.5.11) unstable; urgency=mediumv9.5.11
* ld-gnu-to-sun: filter out -plugin options -- Igor Pashev <pashev.igor@gmail.com> Mon, 11 Aug 2014 14:06:53 +0400
-rw-r--r--debian/changelog6
-rwxr-xr-xld-gnu-to-sun4
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:
--*) ;;