net-misc/quagga: workaround for building with gcc-10
authorSergey Popov <pinkbyte@gentoo.org>
Sun, 8 Mar 2020 16:35:46 +0000 (19:35 +0300)
committerSergey Popov <pinkbyte@gentoo.org>
Sun, 8 Mar 2020 16:35:46 +0000 (19:35 +0300)
Closes: https://bugs.gentoo.org/707422
Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
Package-Manager: Portage-2.3.89, Repoman-2.3.11

net-misc/quagga/quagga-1.2.4.ebuild

index 277218d6412bc3cb265beaf013ef80bb0f8be74a..a3bf57e548c659ae21d7baba8693e6eb797e9f4a 100644 (file)
@@ -61,7 +61,8 @@ src_prepare() {
 }
 
 src_configure() {
-       append-flags -fno-strict-aliasing
+       # -fcommon is added as a workaround for bug #707422
+       append-flags -fno-strict-aliasing -fcommon
 
        # do not build PDF docs
        export ac_cv_prog_PDFLATEX=no