1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/openjfx12/fix-arm32-build.patch
2019-10-26 23:25:01 +02:00

69 lines
2.2 KiB
Diff

--- old/buildSrc/linux.gradle
+++ new/buildSrc/linux.gradle
@@ -45,10 +45,6 @@
"-fstack-protector",
"-Wextra", "-Wall", "-Wformat-security", "-Wno-unused", "-Wno-parentheses", "-Werror=implicit-function-declaration", "-Werror=trampolines"] // warning flags
-if (!IS_64) {
- commonFlags += "-m32"
-}
-
// Specify the compilation parameters and link parameters
def ccFlags = [
commonFlags, "-I$JDK_HOME/include", "-I$JDK_HOME/include/linux", "-c",
--- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile
@@ -64,11 +64,6 @@
LDFLAGS += $(shell pkg-config --libs libavcodec libavformat)
endif
-ifeq ($(ARCH), x32)
- CFLAGS += -m32
- LDFLAGS += -m32
-endif
-
SOURCES = av/fxavcodecplugin.c \
av/avelement.c \
av/decoder.c \
--- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/fxplugins/Makefile
@@ -55,11 +55,6 @@
-z relro \
-static-libgcc -static-libstdc++ -Wl,--gc-sections
-ifeq ($(ARCH), x32)
- CFLAGS += -m32
- LDFLAGS += -m32
-endif
-
SOURCES = fxplugins.c \
progressbuffer/progressbuffer.c \
progressbuffer/hlsprogressbuffer.c \
--- old/modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
+++ new/modules/javafx.media/src/main/native/gstreamer/projects/linux/gstreamer-lite/Makefile
@@ -80,11 +80,6 @@
-z relro \
-static-libgcc -static-libstdc++ -Wl,--gc-sections
-ifeq ($(ARCH), x32)
- CFLAGS += -m32
- LDFLAGS += -m32
-endif
-
SOURCES = \
gstreamer/gst/gst.c \
gstreamer/gst/gstallocator.c \
--- old/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile
+++ new/modules/javafx.media/src/main/native/jfxmedia/projects/linux/Makefile
@@ -75,11 +75,6 @@
CFLAGS += -g -Wall -D_DEBUG
endif
-ifeq ($(ARCH), x32)
- CFLAGS += -m32
- LDFLAGS += -m32
-endif
-
CPP_SOURCES = \
jni/com_sun_media_jfxmedia_logging_Logger.cpp \
jni/JavaBandsHolder.cpp \