Subject: [alpine-aports] [PATCH] community/gcc6: fix option spelling on mips*

From: alpine-mips-patches <[email-masked]>
Date: Mon, 3 Dec 2018 10:26:30 +0000

It is '--as-needed' not '-as-needed' (interpreted as '-a KEYWORD').
---
 community/gcc6/005_all_default-as-needed.patch | 2 +-
 community/gcc6/APKBUILD                        | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/community/gcc6/005_all_default-as-needed.patch b/community/gcc6/005_all_default-as-needed.patch
index ee4f7962a1..b95f754ee5 100644
--- a/community/gcc6/005_all_default-as-needed.patch
+++ b/community/gcc6/005_all_default-as-needed.patch
@@ -174,7 +174,7 @@ Index: b/gcc/config/mips/gnu-user.h
  #undef GNU_USER_TARGET_LINK_SPEC
  #define GNU_USER_TARGET_LINK_SPEC "\
    %{G*} %{EB} %{EL} %{mips*} %{shared} \
-+ -as-needed \
++  --as-needed \
    %{!shared: \
      %{!static: \
        %{rdynamic:-export-dynamic} \
diff --git a/community/gcc6/APKBUILD b/community/gcc6/APKBUILD
index b32b67d7cd..f078bef06c 100644
--- a/community/gcc6/APKBUILD
+++ b/community/gcc6/APKBUILD
@@ -3,7 +3,7 @@ pkgname=gcc6
 pkgver=6.4.0
 _ver=${pkgver%%.*}
 pkgname="$pkgname"
-pkgrel=7
+pkgrel=8
 pkgdesc="The GNU Compiler Collection"
 url="http://gcc.gnu.org"
 arch="all"
@@ -318,7 +318,7 @@ sha512sums="02c60e54527c7adf584798d5251f8a0b80c93d5deafce82501b2c28e6692e0bd7839
 a1335adc2fbee98e36c4437ff2587771b98ed4180726779020f65039498235626a411cdb0100dbd20cd19d12f0d94f9a21af179ff624676c28cead9d60598b5d  001_all_default-ssp-strong.patch
 e36e95b81489163abd6fe9d58f7867bdca43e61143afacbfb17f4698c0b16ec5fd0061d8fab7b2ae615540bebd721c2e2227f80401b4e7fc253da9da62e6b513  002_all_default-relro.patch
 f86466c62b8291fac46f9c250c7ad8fa5ab7b1cce2504442fd07ddc4543665b317ae28951f244e39aba29aeaf3fff252ec4f6a147aa16adb2b7aed747dd89188  003_all_default-fortify-source.patch
-51282fea54c7e616367bbeb2479ba13fec6f24eb47bd04e2071907b3b36273b2ff24676f46ef8d22f241c8ab4857307861eee076eab66797c3a50a8ecaa1809a  005_all_default-as-needed.patch
+6c15983d90b50106ef7a306be73e4ea93607c1e45ab5e0c386f24366869360b194c47b42c5cb1ec81e6975e486e78b7007a96bbc14fe625a98ed440e67bede10  005_all_default-as-needed.patch
 3398386dd1e079d6545dd9799adc799c6b80e3984fac6899d0e1a7ee21b66d0c7e53cddf17a65d590c883db750f9f79aaedd857355a8b9f7fb9476c906237919  011_all_default-warn-format-security.patch
 9adb0d2b9b67dd957df6c609b8714c7c078efb52cd88770905c37c67827be8fc83d1125037b9c29d77db21ce78756aa2bb0bacdb0b98d869ac126da76a298e21  012_all_default-warn-trampolines.patch
 d35a3ac7e13a4446921a90e1ff3eec1079840c845f9d523c868e24ae21f94cf69ba041de5341ebef96432a6f57598e223381d4286e8fb8baaa25906707f29fbd  020_all_msgfmt-libstdc++-link.patch
-- 
2.19.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---