aboutsummaryrefslogtreecommitdiffstats
path: root/community/xpra/avoid-x86-only-compile-flags.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-11-07 09:15:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-07 09:16:24 +0000
commit2fede04b90d6267174762594d21ebc80bbaae4ea (patch)
tree5f95a31fa794401868d6a1601c30fece80c12ef9 /community/xpra/avoid-x86-only-compile-flags.patch
parent5e4fa9c724ca1c6734a57daa1725002c3f3cdc46 (diff)
downloadaports-2fede04b90d6267174762594d21ebc80bbaae4ea.tar.bz2
aports-2fede04b90d6267174762594d21ebc80bbaae4ea.tar.xz
community/xpra: fix build on 32bit non-x86
Simply drop setting -mfpmath=387 complie flag
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))