diff options
Diffstat (limited to 'meta/conf/distro/include/uninative-flags.inc')
-rw-r--r-- | meta/conf/distro/include/uninative-flags.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/conf/distro/include/uninative-flags.inc b/meta/conf/distro/include/uninative-flags.inc new file mode 100644 index 0000000000..e9f82c39ea --- /dev/null +++ b/meta/conf/distro/include/uninative-flags.inc | |||
@@ -0,0 +1,9 @@ | |||
1 | # https://wiki.debian.org/GCC5 | ||
2 | # We may see binaries built with gcc5 run or linked into gcc4 environment | ||
3 | # so use the older libstdc++ standard for now until we don't support gcc4 | ||
4 | # on the host system. | ||
5 | BUILD_CXXFLAGS_append = " -D_GLIBCXX_USE_CXX11_ABI=0" | ||
6 | |||
7 | # icu configure defaults to CXX11 if no -std= option is passed in CXXFLAGS | ||
8 | # therefore pass one | ||
9 | BUILD_CXXFLAGS_append_pn-icu-native = " -std=c++98" | ||