aboutsummaryrefslogtreecommitdiffstats
path: root/community/xpra/avoid-x86-only-compile-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/xpra/avoid-x86-only-compile-flags.patch')
-rw-r--r--community/xpra/avoid-x86-only-compile-flags.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/xpra/avoid-x86-only-compile-flags.patch b/community/xpra/avoid-x86-only-compile-flags.patch
new file mode 100644
index 0000000000..0f6c5871aa
--- /dev/null
+++ b/community/xpra/avoid-x86-only-compile-flags.patch
@@ -0,0 +1,17 @@
+diff --git a/setup.py b/setup.py
+index 57c2d63..c896c62 100755
+--- a/setup.py
++++ b/setup.py
+@@ -1737,9 +1737,9 @@ membuffers_c = [memalign_c, buffers_c, xxhash_c]
+ if modules_ENABLED:
+ add_packages("xpra.buffers")
+ buffers_pkgconfig = pkgconfig(optimize=3)
+- if BITS==32:
+- #this may well be sub-optimal:
+- add_to_keywords(buffers_pkgconfig, "extra_compile_args", "-mfpmath=387")
++# if BITS==32:
++# #this may well be sub-optimal:
++# add_to_keywords(buffers_pkgconfig, "extra_compile_args", "-mfpmath=387")
+ if cython_ENABLED:
+ cython_add(Extension("xpra.buffers.membuf",
+ ["xpra/buffers/membuf.pyx"]+membuffers_c, **buffers_pkgconfig))