Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/embree/embree-2.17.3-32bit-compile-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/embree/embree-2.17.3-32bit-compile-flags.patch')
-rw-r--r--community/embree/embree-2.17.3-32bit-compile-flags.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/embree/embree-2.17.3-32bit-compile-flags.patch b/community/embree/embree-2.17.3-32bit-compile-flags.patch
new file mode 100644
index 00000000..93a4570c
--- /dev/null
+++ b/community/embree/embree-2.17.3-32bit-compile-flags.patch
@@ -0,0 +1,39 @@
+--- a/embree-2.17.3/common/algorithms/CMakeLists.txt 2018-02-23 10:15:19.817068492 +0100
++++ b/embree-2.17.3/common/algorithms/CMakeLists.txt 2018-02-23 10:09:48.365065242 +0100
+@@ -28,5 +28,6 @@
+ )
+
+ SET_PROPERTY(TARGET algorithms PROPERTY FOLDER common)
++SET_TARGET_PROPERTIES(algorithms PROPERTIES COMPILE_FLAGS "${FLAGS_LOWEST}")
+
+
+--- a/embree-2.17.3/common/simd/CMakeLists.txt 2018-02-23 10:15:19.865068664 +0100
++++ b/embree-2.17.3/common/simd/CMakeLists.txt 2018-02-23 10:09:48.365065242 +0100
+@@ -16,6 +16,7 @@
+
+ ADD_LIBRARY(simd STATIC sse.cpp)
+ SET_PROPERTY(TARGET simd PROPERTY FOLDER common)
++SET_TARGET_PROPERTIES(simd PROPERTIES COMPILE_FLAGS "${FLAGS_LOWEST}")
+
+ IF (EMBREE_STATIC_LIB)
+ INSTALL(TARGETS simd ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT devel)
+--- a/embree-2.17.3/common/sys/CMakeLists.txt 2018-02-23 10:15:19.913068835 +0100
++++ b/embree-2.17.3/common/sys/CMakeLists.txt 2018-02-23 10:13:26.240680114 +0100
+@@ -32,6 +32,7 @@
+
+ TARGET_LINK_LIBRARIES(sys ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})
+ SET_PROPERTY(TARGET sys PROPERTY FOLDER common)
++SET_TARGET_PROPERTIES(sys PROPERTIES COMPILE_FLAGS "${FLAGS_LOWEST}")
+
+ IF (EMBREE_STATIC_LIB)
+ INSTALL(TARGETS sys ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT devel)
+--- a/embree-2.17.3/common/tasking/CMakeLists.txt 2018-02-23 10:15:19.967069028 +0100
++++ b/embree-2.17.3/common/tasking/CMakeLists.txt 2018-02-23 10:13:54.728773837 +0100
+@@ -29,6 +29,7 @@
+ ENDIF()
+
+ SET_PROPERTY(TARGET tasking PROPERTY FOLDER common)
++SET_TARGET_PROPERTIES(tasking PROPERTIES COMPILE_FLAGS "${FLAGS_LOWEST}")
+
+ IF (EMBREE_STATIC_LIB)
+ INSTALL(TARGETS tasking ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT devel)