File: 0006-detect-sse.patch

package info (click to toggle)
libosl 0.8.0-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,328 kB
  • sloc: cpp: 114,345; ruby: 1,290; ansic: 915; makefile: 431; perl: 309; sh: 35
file content (27 lines) | stat: -rw-r--r-- 561 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
23
24
25
26
27
From 64c82f85ef1e2bf8855faff8c22a131a3552149b Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <anbe@debian.org>
Date: Tue, 7 Jul 2020 20:41:41 +0200
Subject: [PATCH 06/11] detect-sse

---
 core/osl/config.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/core/osl/config.h b/core/osl/config.h
index 53b1d9c0f..1c02dbe72 100644
--- a/core/osl/config.h
+++ b/core/osl/config.h
@@ -31,4 +31,10 @@
 #define OSL_NO_SSE 1
 #endif
 
+#ifndef __SSE__
+#  ifndef OSL_NO_SSE
+#    define OSL_NO_SSE 1
+#  endif
+#endif
+
 #endif /* _OSL_CONFIG_H */
-- 
2.33.0