diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4 index f56f2c0932..dfc17d45a2 100755 --- a/build/scripts/build_cross_tools_gcc4 +++ b/build/scripts/build_cross_tools_gcc4 @@ -25,7 +25,8 @@ additionalMakeArgs=$* gdbSourceDir="$HAIKU_USE_GDB" ccFlags="-O2" -cxxFlags="-O2" +#CLang needs c++14 to build ISL: https://dev.haiku-os.org/ticket/16434 +cxxFlags="-O2 -std=c++14" binutilsTargets="$haikuMachine" gdbTarget="$haikuMachine" case $haikuMachine in