summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/uninative-flags.inc
blob: e9f82c39ea9cdd86da40662cddca29a5bdb172e6 (plain)
1
2
3
4
5
6
7
8
9
# 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"