gcc: compile with -std=gnu++98 to fix build with gcc6

This commit is contained in:
escalade 2016-05-12 12:16:27 +00:00
parent 0dee619c4b
commit a23c52e5bc

View File

@ -110,6 +110,10 @@ PKG_CONFIGURE_OPTS_HOST="--target=$TARGET_NAME \
--enable-checking=release \
--with-default-libstdcxx-abi=gcc4-compatible"
pre_configure_host() {
export CXXFLAGS="$CXXFLAGS -std=gnu++98"
}
pre_configure_bootstrap() {
setup_toolchain host
}