mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
gcc: compile with -std=gnu++98 to fix build with gcc6
This commit is contained in:
parent
0dee619c4b
commit
a23c52e5bc
@ -110,6 +110,10 @@ PKG_CONFIGURE_OPTS_HOST="--target=$TARGET_NAME \
|
|||||||
--enable-checking=release \
|
--enable-checking=release \
|
||||||
--with-default-libstdcxx-abi=gcc4-compatible"
|
--with-default-libstdcxx-abi=gcc4-compatible"
|
||||||
|
|
||||||
|
pre_configure_host() {
|
||||||
|
export CXXFLAGS="$CXXFLAGS -std=gnu++98"
|
||||||
|
}
|
||||||
|
|
||||||
pre_configure_bootstrap() {
|
pre_configure_bootstrap() {
|
||||||
setup_toolchain host
|
setup_toolchain host
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user