mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
java/openjfx14: fix build on non-amd64
cc: error: unsupported option '-msse2' for target 'powerpc64-unknown-freebsd14.1'
This commit is contained in:
parent
14034d667e
commit
26de591885
@ -0,0 +1,10 @@
|
||||
--- modules/javafx.media/src/main/native/gstreamer/projects/bsd/fxplugins/Makefile.orig 2024-06-01 08:37:05 UTC
|
||||
+++ modules/javafx.media/src/main/native/gstreamer/projects/bsd/fxplugins/Makefile
|
||||
@@ -21,7 +21,6 @@ CFLAGS = -fPIC \
|
||||
-fstack-protector \
|
||||
-Werror=implicit-function-declaration \
|
||||
-Werror=trampolines \
|
||||
- -msse2 \
|
||||
-fbuiltin \
|
||||
-DHAVE_STDINT_H \
|
||||
-DLINUX \
|
@ -1,6 +1,14 @@
|
||||
--- modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile.orig 2020-07-17 10:21:33 UTC
|
||||
+++ modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
|
||||
@@ -41,25 +41,16 @@ endif
|
||||
@@ -24,7 +24,6 @@ CFLAGS = -fPIC \
|
||||
-fstack-protector \
|
||||
-Werror=implicit-function-declaration \
|
||||
-Werror=trampolines \
|
||||
- -msse2 \
|
||||
-fbuiltin \
|
||||
-DHAVE_STDINT_H \
|
||||
-DLINUX \
|
||||
@@ -41,25 +40,16 @@ PACKAGES_LIBS := $(shell pkg-config --libs glib-2.
|
||||
PACKAGES_INCLUDES := $(shell pkg-config --cflags glib-2.0)
|
||||
PACKAGES_LIBS := $(shell pkg-config --libs glib-2.0 gobject-2.0)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
--- modules/javafx.media/src/main/native/jfxmedia/projects/bsd/Makefile.orig 2020-07-19 18:30:00 UTC
|
||||
--- modules/javafx.media/src/main/native/jfxmedia/projects/bsd/Makefile.orig 2024-06-01 08:44:07 UTC
|
||||
+++ modules/javafx.media/src/main/native/jfxmedia/projects/bsd/Makefile
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
BUILD_DIR = $(OUTPUT_DIR)/$(BUILD_TYPE)
|
||||
@@ -18,6 +18,7 @@ DIRLIST = jni \
|
||||
@@ -18,6 +18,7 @@ CFLAGS = -DTARGET_OS_LINUX=1 \
|
||||
TARGET = $(BUILD_DIR)/lib$(BASE_NAME).so
|
||||
|
||||
CFLAGS = -DTARGET_OS_LINUX=1 \
|
||||
@ -23,15 +23,16 @@
|
||||
-ffunction-sections -fdata-sections
|
||||
|
||||
CPPFLAGS = -fno-rtti -ffunction-sections -fdata-sections
|
||||
@@ -42,7 +44,6 @@ ifdef HOST_COMPILE
|
||||
@@ -42,8 +44,6 @@ ifdef HOST_COMPILE
|
||||
-Wformat-security \
|
||||
-fstack-protector \
|
||||
-Werror=implicit-function-declaration \
|
||||
- -Werror=trampolines \
|
||||
-msse2 \
|
||||
- -msse2 \
|
||||
-DGSTREAMER_LITE
|
||||
|
||||
@@ -51,7 +52,7 @@ ifdef HOST_COMPILE
|
||||
PACKAGES_INCLUDES := $(shell pkg-config --cflags glib-2.0)
|
||||
@@ -51,7 +51,7 @@ ifdef HOST_COMPILE
|
||||
|
||||
INCLUDES = $(BASE_INCLUDES) \
|
||||
-I$(JAVA_HOME)/include \
|
||||
|
Loading…
Reference in New Issue
Block a user