Merge pull request #384 from escalade/gccfix

gcc: compile with -std=gnu++98 to fix build with gcc6
This commit is contained in:
Lukas Rusak
2016-05-31 23:06:36 -07:00

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
}