Many packages depending on Qt5 or Qt4 and built with cmake generate "flags.make" files with -isystem for include paths. With gcc6 this results in e.g. "#include_next <stdlib.h>" giving an error, because a -isystem /usr/include is in the wrong place. The simple fix is to replace "-isystem" with just "-I".
BUILD STYLES ============ These shell snippets provide support for multiple build systems, i.e GNU configure, CMake, etc. A build style file must provide at least the following functions: - do_configure - do_build - do_install If a source package defines its own do_xxx() function, the function defined in the build style file is simply ignored.