sys-libs/glibc: Ancient version doesnt build with stack protector
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 16 Jun 2018 17:58:32 +0000 (19:58 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 16 Jun 2018 18:01:31 +0000 (20:01 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

sys-libs/glibc/glibc-2.19-r2.ebuild

index b2b9a397b55cfb9c7a14cb3d6ad1e3155b43b8a1..67d94602c8fac6c189f26f4a28b04bb92579f930 100644 (file)
@@ -367,6 +367,7 @@ setup_flags() {
        append-flags -O2 -fno-strict-aliasing
 
        filter-flags '-fstack-protector*'
+       append-flags '-fno-stack-protector'
 
        # Starting with gcc-6 (and fully upstreamed pie patches) we control
        # default enabled/disabled pie via use flags. So nothing to do