diff options
| author | Simon Frankenberger <simon@fraho.eu> | 2019-04-17 17:10:04 +0200 |
|---|---|---|
| committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-10-26 23:25:01 +0200 |
| commit | 24f84de589b73c43fd4ed05c03486b7333c54753 (patch) | |
| tree | 5887331bed911e4e147f2700243fa837ffc581b2 /testing/openjfx12/disable-sse2.patch | |
| parent | bab0150a4387f6b3c9e549a1ad5cc4124207e70c (diff) | |
| download | aports-24f84de589b73c43fd4ed05c03486b7333c54753.tar.bz2 aports-24f84de589b73c43fd4ed05c03486b7333c54753.tar.xz | |
testing/openjfx12: New aport
Diffstat (limited to 'testing/openjfx12/disable-sse2.patch')
| -rw-r--r-- | testing/openjfx12/disable-sse2.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/testing/openjfx12/disable-sse2.patch b/testing/openjfx12/disable-sse2.patch new file mode 100644 index 0000000000..ef60f825c2 --- /dev/null +++ b/testing/openjfx12/disable-sse2.patch @@ -0,0 +1,60 @@ +Description: Enable SSE2 on i386 and amd64 CPUs only +Author: Emmanuel Bourg <ebourg@apache.org> +Forwarded: no +Taken from: https://sources.debian.org/patches/openjfx/11.0.2+1-1/08-disable-sse2.patch +--- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile ++++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile +@@ -24,13 +24,16 @@ + -fstack-protector \ + -Werror=implicit-function-declaration \ + -Werror=trampolines \ +- -msse2 \ + -fbuiltin \ + -DHAVE_STDINT_H \ + -DLINUX \ + -DGST_DISABLE_LOADSAVE \ + -DGSTREAMER_LITE \ + -ffunction-sections -fdata-sections ++ ++ifneq (,$(filter $(CARCH), x86 x86_64)) ++ CFLAGS += -msse2 ++endif + + ifeq ($(BUILD_TYPE), Release) + CFLAGS += -Os +--- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile ++++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile +@@ -21,7 +21,6 @@ + -fstack-protector \ + -Werror=implicit-function-declaration \ + -Werror=trampolines \ +- -msse2 \ + -fbuiltin \ + -DHAVE_STDINT_H \ + -DLINUX \ +@@ -32,6 +31,10 @@ + -DGST_DISABLE_GST_DEBUG \ + -DGSTREAMER_LITE \ + -ffunction-sections -fdata-sections ++ ++ifneq (,$(filter $(CARCH), x86 x86_64)) ++ CFLAGS += -msse2 ++endif + + ifeq ($(BUILD_TYPE), Release) + CFLAGS += -Os +--- old/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile ++++ new/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile +@@ -43,8 +43,11 @@ + -fstack-protector \ + -Werror=implicit-function-declaration \ + -Werror=trampolines \ +- -msse2 \ + -DGSTREAMER_LITE ++ ++ifneq (,$(filter $(CARCH), x86 x86_64)) ++ CFLAGS += -msse2 ++endif + + 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) |
