openni/openni-1.5.2.23-disable-sse.patch
s_c_c 3bdfa0837a 增加openni源码包
(cherry picked from commit 18b8c437cbb0ed553f1532e76e5366f7428e4486)
2023-06-08 17:35:53 +08:00

21 lines
591 B
Diff

diff -up ./Platform/Linux/Build/Common/Platform.x86.disable-sse ./Platform/Linux/Build/Common/Platform.x86
--- ./Platform/Linux/Build/Common/Platform.x86.disable-sse 2013-09-13 20:34:18.023985897 -0400
+++ ./Platform/Linux/Build/Common/Platform.x86 2013-09-13 20:34:48.556164983 -0400
@@ -2,7 +2,7 @@
export GLUT_SUPPORTED=1
ifndef SSE_GENERATION
- SSE_GENERATION = 3
+ SSE_GENERATION = 0
endif
ifeq ("$(OSTYPE)","Darwin")
@@ -19,7 +19,5 @@ else
ifeq ($(SSSE3_ENABLED), 1)
CFLAGS += -mssse3
endif
- else
- DUMMY:=($error "Only SSE2 and SSE3 are supported")
endif
endif