From d0f28310797d67af947e9ddbab8e0307a042ce3d59b01e45be01bc17832425a5 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Wed, 31 Jan 2024 14:04:30 +0000 Subject: [PATCH] For SLE-12 explicitely add std=gnu++11 to CXX for gold. It's configured and set "correctly" in the gold subdir, but the toplevel passes CXX=g++ down (and that overrides), so hack around this. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=460 --- binutils.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/binutils.spec b/binutils.spec index 55a6155..20b2e5b 100644 --- a/binutils.spec +++ b/binutils.spec @@ -359,6 +359,7 @@ cd build-dir --enable-threads \ %endif %if %{suse_version} <= 1320 + CXX="g++ -std=gnu++11" \ --disable-x86-relax-relocations \ --disable-compressed-debug-sections \ %endif