https://src.fedoraproject.org/rpms/graphite2/raw/41fb7c104c8f9293254abaa91bbda1daafb458cd/f/graphite-arm-nodefaultlibs.patch https://bugs.gentoo.org/829690 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -120,11 +120,7 @@ if (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*") target_link_libraries(graphite2 kernel32 msvcr90 mingw32 gcc user32) else (${CMAKE_CXX_COMPILER} MATCHES ".*mingw.*") - if (GRAPHITE2_SANITIZERS) - target_link_libraries(graphite2 c gcc_s) - else () - target_link_libraries(graphite2 c gcc) - endif () + target_link_libraries(graphite2 c gcc_s) endif() include(Graphite) if (BUILD_SHARED_LIBS)