Skip to content
Snippets Groups Projects
  • voidanix's avatar
    Fix GCC builds with Debug build type · d3f67d1e
    voidanix authored
    
    When compiling with -DCMAKE_BUILD_TYPE=Debug, GCC would (correctly) fail to
    compile intrinsics in stb and host1x due to lack of optimizations.
    
    Sadly, the compilation error given is bogus and Clang completing the builds
    without issues does raise some eyebrows.
    
    Therefore, force optimizations for the offending files under GCC when
    creating Debug builds.
    
    Signed-off-by: default avatarvoidanix <voidanix@keyedlimepie.org>
    d3f67d1e