summaryrefslogtreecommitdiff
path: root/media-gfx/graphite2/files/graphite2-1.3.5-fix-gcc-linking.patch
blob: e4413d1f9a6156ede0896d0f4d993a28d176cb33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -127,12 +127,7 @@
             set_target_properties(graphite2 PROPERTIES
                 LINK_FLAGS      "-nodefaultlibs ${GRAPHITE_LINK_FLAGS}")
 
-            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)
             if (BUILD_SHARED_LIBS)
                 nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>)
             endif ()