[openjfx] 02/03: Removed the -msse2 flag on non Intel architectures
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Jan 25 08:14:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository openjfx.
commit 8e36700a01ca06f762850c233555aeaa63cdd3d1
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Jan 25 09:09:27 2017 +0100
Removed the -msse2 flag on non Intel architectures
---
debian/changelog | 1 +
debian/patches/08-disable-sse2.patch | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 71fceec..054800a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ openjfx (8u121-b13-2) UNRELEASED; urgency=medium
* Team upload.
* Removed the -m32 flags
+ * Removed the -msse2 flag on non Intel architectures
-- Emmanuel Bourg <ebourg at apache.org> Wed, 25 Jan 2017 08:47:31 +0100
diff --git a/debian/patches/08-disable-sse2.patch b/debian/patches/08-disable-sse2.patch
index 331d4d3..fee4f79 100644
--- a/debian/patches/08-disable-sse2.patch
+++ b/debian/patches/08-disable-sse2.patch
@@ -68,3 +68,14 @@ Index: b/modules/media/src/main/native/jfxmedia/projects/linux/Makefile
PACKAGES_INCLUDES := $(shell pkg-config --cflags glib-2.0)
PACKAGES_LIBS := $(shell pkg-config --libs glib-2.0 gobject-2.0 gmodule-2.0 gthread-2.0)
+--- a/modules/web/src/main/native/Tools/Scripts/webkitdirs.pm
++++ b/modules/web/src/main/native/Tools/Scripts/webkitdirs.pm
+@@ -1906,7 +1906,7 @@
+ # between 32-bit and 64-bit architectures.
+ determineArchitecture();
+ # AR: Enable SSE2 on windows msvc.
+- if ($architecture ne "x86_64" && !isARM() && !isCrossCompilation() && !isAnyWindows()) {
++ if ($architecture eq "i686" && !isARM() && !isCrossCompilation() && !isAnyWindows()) {
+ $ENV{'CXXFLAGS'} = "-march=pentium4 -msse2 -mfpmath=sse " . ($ENV{'CXXFLAGS'} || "");
+ }
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/openjfx.git
More information about the pkg-java-commits
mailing list