File: do-not-require-sse2.diff

package info (click to toggle)
graphite2 1.3.14-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 23,148 kB
  • sloc: cpp: 14,737; cs: 1,998; python: 1,738; ansic: 1,673; perl: 184; xml: 123; sh: 96; makefile: 53
file content (22 lines) | stat: -rw-r--r-- 895 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b6ac26b..77ba468 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -108,7 +108,7 @@ if  (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
         LINK_FLAGS      "-nodefaultlibs ${GRAPHITE_LINK_FLAGS}"
         LINKER_LANGUAGE C)
     if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86|i.86")
-        add_definitions(-mfpmath=sse -msse2)
+        add_definitions(-mfpmath=sse)
     endif()
     if (CMAKE_COMPILER_IS_GNUCXX)
         add_definitions(-Wno-class-memaccess -Wdouble-promotion)
@@ -140,7 +140,7 @@ if  (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
         LINK_FLAGS      "-nodefaultlibs"
         LINKER_LANGUAGE C)
     if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86|i.86")
-        add_definitions(-mfpmath=sse -msse2)
+        add_definitions(-mfpmath=sse)
     endif()
     target_link_libraries(graphite2 c)
     include(Graphite)