|
|
d433ea |
--- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh.orig 2018-08-19 12:37:52.764590467 +0100
|
|
|
d433ea |
+++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh 2018-08-19 12:38:15.032503913 +0100
|
|
|
d433ea |
@@ -74,7 +74,8 @@
|
|
|
d433ea |
|
|
|
d433ea |
MAKE_TYPE=make
|
|
|
d433ea |
|
|
|
d433ea |
-export CFLAGS='-O -Wall -fPIC'
|
|
|
d433ea |
+export CFLAGS='-O -g -Wall -fPIC'
|
|
|
d433ea |
+export NO_STRIP=1
|
|
|
d433ea |
|
|
|
d433ea |
# Determine which OS we are on
|
|
|
d433ea |
if [ "${OS}" = "" ]; then
|
|
|
d433ea |
--- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak.orig 2019-03-20 10:22:21.420240101 +0000
|
|
|
d433ea |
+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak 2019-03-20 10:53:53.375471427 +0000
|
|
|
d433ea |
@@ -92,7 +92,7 @@
|
|
|
d433ea |
-DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so.0\"" -DGOBJ_LIB="\"libgobject-2.0.so.0\"" \
|
|
|
d433ea |
-DGIO_LIB="\"libgio-2.0.so.0\"" -DGLIB_LIB="\"libglib-2.0.so.0\""
|
|
|
d433ea |
LFLAGS = ${M_ARCH} -shared -fpic -Wl,--export-dynamic
|
|
|
d433ea |
-CFLAGS = ${M_CFLAGS} ${M_ARCH} -g -s -Wall\
|
|
|
d433ea |
+CFLAGS = ${M_CFLAGS} ${M_ARCH} -g -Wall\
|
|
|
d433ea |
-fpic \
|
|
|
d433ea |
-DLINUX \
|
|
|
d433ea |
-DDEFAULT_OS="\"$(DEFAULT_OS)\"" \
|
|
|
d433ea |
--- rt.equinox.bundles/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/makefile.orig 2019-03-19 22:40:23.145082352 +0000
|
|
|
d433ea |
+++ rt.equinox.bundles/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/makefile 2019-03-20 09:29:20.370457348 +0000
|
|
|
d433ea |
@@ -1,7 +1,8 @@
|
|
|
d433ea |
LIBSECRET_CFLAGS = `pkg-config --cflags libsecret-1`
|
|
|
d433ea |
LIBSECRET_LIBS = `pkg-config --libs libsecret-1`
|
|
|
d433ea |
|
|
|
d433ea |
-CFLAGS = -shared -fPIC -I"${JAVA_HOME}/include" -I"${JAVA_HOME}/include/linux"
|
|
|
d433ea |
+CFLAGS := $(CFLAGS) -fPIC -I"${JAVA_HOME}/include" -I"${JAVA_HOME}/include/linux" $(LIBSECRET_CFLAGS)
|
|
|
d433ea |
+LDFLAGS := $(LDFLAGS) -shared $(LIBSECRET_LIBS)
|
|
|
d433ea |
|
|
|
d433ea |
all: ../libkeystorelinuxnative.so
|
|
|
d433ea |
|
|
|
d433ea |
@@ -9,10 +10,10 @@
|
|
|
d433ea |
rm ../libkeystorelinuxnative.so ../target/keystoreLinuxNative.o
|
|
|
d433ea |
|
|
|
d433ea |
../libkeystorelinuxnative.so: ../target/keystoreLinuxNative.o
|
|
|
d433ea |
- $(CC) $(CFLAGS) -o $@ $< $(LIBSECRET_LIBS)
|
|
|
d433ea |
+ $(CC) $(LDFLAGS) -o $@ $<
|
|
|
d433ea |
|
|
|
d433ea |
../target/keystoreLinuxNative.o: ../target keystoreLinuxNative.c
|
|
|
d433ea |
- $(CC) -c -fPIC -I"${JAVA_HOME}/include" -I"${JAVA_HOME}/include/linux" -o $@ $(TESTFLAGS) $(LIBSECRET_CFLAGS) keystoreLinuxNative.c
|
|
|
d433ea |
+ $(CC) -c $(CFLAGS) -o $@ $(TESTFLAGS) keystoreLinuxNative.c
|
|
|
d433ea |
|
|
|
d433ea |
../target:
|
|
|
d433ea |
mkdir -p ../target
|
|
|
d433ea |
--- eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/linux/makefile.orig 2019-03-20 09:49:40.694899138 +0000
|
|
|
d433ea |
+++ eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/linux/makefile 2019-03-20 10:20:21.704664294 +0000
|
|
|
d433ea |
@@ -25,10 +25,10 @@
|
|
|
d433ea |
OS_TYPE = linux
|
|
|
d433ea |
JDK_INCLUDE = -I${JAVA_HOME}/include -I${JAVA_HOME}/include/${OS_TYPE}
|
|
|
d433ea |
INCLUDE = `pkg-config --cflags gio-2.0`
|
|
|
d433ea |
-COMPILER_FLAGS = -O0 -fPIC -g3 -Wall -c -fmessage-length=0 ${TARGET_ENVIRONMENT}
|
|
|
d433ea |
+COMPILER_FLAGS = $(CFLAGS) -fPIC -c ${TARGET_ENVIRONMENT}
|
|
|
d433ea |
|
|
|
d433ea |
LIBS := `pkg-config --libs gio-2.0`
|
|
|
d433ea |
-LINKER_FLAGS= ${TARGET_ENVIRONMENT}
|
|
|
d433ea |
+LINKER_FLAGS = $(LDFLAGS) ${TARGET_ENVIRONMENT}
|
|
|
d433ea |
|
|
|
d433ea |
all: link
|
|
|
d433ea |
|