add_compile_flags("-Wno-error=unused-but-set-variable")
endif()
-add_compile_flags("-Wtype-limits -Wno-error=type-limits")
+add_compile_flags("-Wno-error=type-limits")
if(ARCH STREQUAL "amd64")
add_compile_flags("-Wno-format")
# Link-time code generation
if(LTCG)
- add_compile_flags("-flto -ffat-lto-objects")
+ add_compile_flags("-flto -fno-fat-lto-objects")
endif()
if(ARCH STREQUAL "i386")