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
This commit is contained in:
@@ -359,6 +359,7 @@ cd build-dir
|
|||||||
--enable-threads \
|
--enable-threads \
|
||||||
%endif
|
%endif
|
||||||
%if %{suse_version} <= 1320
|
%if %{suse_version} <= 1320
|
||||||
|
CXX="g++ -std=gnu++11" \
|
||||||
--disable-x86-relax-relocations \
|
--disable-x86-relax-relocations \
|
||||||
--disable-compressed-debug-sections \
|
--disable-compressed-debug-sections \
|
||||||
%endif
|
%endif
|
||||||
|
Reference in New Issue
Block a user