From: Alexander Kanavin Date: Mon, 8 May 2017 14:37:58 +0000 (+0300) Subject: uninative-flags.inc: do not default to old C++ ABI X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~20929 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80791bd2d58c2e56b0dfbd2f0d43db8c90841ee4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git uninative-flags.inc: do not default to old C++ ABI This was needed for interoperability between code compiled with gcc 4 and 5; there should be now a different fix for the issue: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c21cec84886d9c70396e9be0ceb9a8ef300b54be Signed-off-by: Alexander Kanavin --- diff --git a/meta/conf/distro/include/uninative-flags.inc b/meta/conf/distro/include/uninative-flags.inc index b6a944ef63b..f5b15471a4b 100644 --- a/meta/conf/distro/include/uninative-flags.inc +++ b/meta/conf/distro/include/uninative-flags.inc @@ -1,9 +1,3 @@ -# https://wiki.debian.org/GCC5 -# We may see binaries built with gcc5 run or linked into gcc4 environment -# so use the older libstdc++ standard for now until we don't support gcc4 -# on the host system. -BUILD_CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0" - # icu configure defaults to CXX11 if no -std= option is passed in CXXFLAGS # therefore pass one BUILD_CXXFLAGS_append_pn-icu-native = " -std=c++98"