]> git.pld-linux.org Git - packages/graphite2.git/blob - graphite2-fix_wrong_linker_opts.patch
- updated to 1.3.10
[packages/graphite2.git] / graphite2-fix_wrong_linker_opts.patch
1 --- graphite2-1.3.10/src/CMakeLists.txt.orig    2017-05-09 18:14:22.142733949 +0200
2 +++ graphite2-1.3.10/src/CMakeLists.txt 2017-05-09 18:27:36.209391572 +0200
3 @@ -109,11 +109,7 @@
4  if  (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
5      set_target_properties(graphite2 PROPERTIES 
6          COMPILE_FLAGS   "-Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wctor-dtor-privacy -Wnon-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector"
7 -        LINK_FLAGS      "-nodefaultlibs ${GRAPHITE_LINK_FLAGS}" 
8 -        LINKER_LANGUAGE C)
9 -    if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86|i.86")
10 -        add_definitions(-mfpmath=sse -msse2)
11 -    endif (${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86|i.86")
12 +        )
13      if (CMAKE_COMPILER_IS_GNUCXX)
14          add_definitions(-Wdouble-promotion)
15      endif (CMAKE_COMPILER_IS_GNUCXX)
16 @@ -124,11 +120,6 @@
17      if (${CMAKE_CXX_COMPILER} MATCHES  ".*mingw.*")
18          target_link_libraries(graphite2 kernel32 msvcr90 mingw32 gcc user32)
19      else (${CMAKE_CXX_COMPILER} MATCHES  ".*mingw.*")
20 -        if (GRAPHITE2_ASAN)
21 -            target_link_libraries(graphite2 c gcc_s)
22 -        else (GRAPHITE2_ASAN)
23 -            target_link_libraries(graphite2 c gcc)
24 -        endif (GRAPHITE2_ASAN)
25          include(Graphite)
26          nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>)
27      endif (${CMAKE_CXX_COMPILER} MATCHES  ".*mingw.*")
This page took 0.055847 seconds and 3 git commands to generate.