Don't build unsupported GTK2 backend for SWT Move installation to a multilib agnostic location /usr/lib
39 lines
1.8 KiB
Diff
39 lines
1.8 KiB
Diff
--- eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak.orig 2014-03-12 10:43:26.000000000 +0000
|
|
+++ eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak 2014-03-12 14:36:44.130938292 +0000
|
|
@@ -121,7 +121,7 @@
|
|
WEBKIT_OBJECTS = swt.o webkitgtk.o webkitgtk_structs.o webkitgtk_stats.o webkitgtk_custom.o
|
|
GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o
|
|
|
|
-CFLAGS = -O -Wall \
|
|
+CFLAGS = -g -O -Wall \
|
|
-DSWT_VERSION=$(SWT_VERSION) \
|
|
$(NATIVE_STATS) \
|
|
$(SWT_DEBUG) \
|
|
@@ -133,15 +133,6 @@
|
|
${SWT_PTR_CFLAGS}
|
|
LFLAGS = -shared -fPIC ${SWT_LFLAGS}
|
|
|
|
-ifndef NO_STRIP
|
|
- # -s = Remove all symbol table and relocation information from the executable.
|
|
- # i.e, more efficent code, but removes debug information. Should not be used if you want to debug.
|
|
- # https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#Link-Options
|
|
- # http://stackoverflow.com/questions/14175040/effects-of-removing-all-symbol-table-and-relocation-information-from-an-executab
|
|
- AWT_LFLAGS := $(AWT_LFLAGS) -s
|
|
- MOZILLALFLAGS := $(MOZILLALFLAGS) -s
|
|
- LFLAGS := $(LFLAGS) -s
|
|
-endif
|
|
|
|
all: make_swt make_atk make_glx make_webkit
|
|
|
|
--- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak.orig 2014-03-12 14:47:37.513191381 +0000
|
|
+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak 2014-03-12 14:47:45.672200015 +0000
|
|
@@ -48,7 +48,7 @@
|
|
-DGTK3_LIB="\"libgtk-3.so.0\"" -DGDK3_LIB="\"libgdk-3.so.0\"" \
|
|
-DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so.0\"" -DGOBJ_LIB="\"libgobject-2.0.so.0\"" -DX11_LIB="\"libX11.so.6\""
|
|
LFLAGS = ${M_ARCH} -shared -fpic -Wl,--export-dynamic
|
|
-CFLAGS = ${M_ARCH} -g -s -Wall\
|
|
+CFLAGS = ${M_ARCH} -g -Wall\
|
|
-fpic \
|
|
-DLINUX \
|
|
-DMOZILLA_FIX \
|