Pass -O1 to the linker so dynamic loading is faster.
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -43,6 +43,7 @@ gtk+3.0 (2.99.0-1) UNRELEASED; urgency=low
|
|||||||
* debian/rules:
|
* debian/rules:
|
||||||
- Remove hack to build on PowerPC64. That port is death, and if it's
|
- Remove hack to build on PowerPC64. That port is death, and if it's
|
||||||
ever back, hopefully we won't need to workaround toolchain issues.
|
ever back, hopefully we won't need to workaround toolchain issues.
|
||||||
|
- Pass -O1 to the linker so dynamic loading is faster.
|
||||||
|
|
||||||
-- Emilio Pozuelo Monfort <pochu@debian.org> Sun, 02 Jan 2011 20:08:53 +0000
|
-- Emilio Pozuelo Monfort <pochu@debian.org> Sun, 02 Jan 2011 20:08:53 +0000
|
||||||
|
|
||||||
|
9
debian/rules
vendored
9
debian/rules
vendored
@ -15,9 +15,13 @@ include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
|
|||||||
|
|
||||||
GNOME_MODULE = gtk+
|
GNOME_MODULE = gtk+
|
||||||
|
|
||||||
# currently fails in the cups gtkprint backend
|
# Ensure the build aborts when there are still references to undefined symbols
|
||||||
|
# currently fails at least in the im-multipress im module
|
||||||
#LDFLAGS += -Wl,-z,defs
|
#LDFLAGS += -Wl,-z,defs
|
||||||
|
|
||||||
|
# Make the linker work a bit harder so dynamic loading can be done faster
|
||||||
|
LDFLAGS += -Wl,-O1
|
||||||
|
|
||||||
DEBVERSION := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
|
DEBVERSION := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
|
||||||
VERSION := $(shell echo $(DEBVERSION) | sed -e 's/-[^-]*$$//')
|
VERSION := $(shell echo $(DEBVERSION) | sed -e 's/-[^-]*$$//')
|
||||||
APIVER := 3.0
|
APIVER := 3.0
|
||||||
@ -153,5 +157,6 @@ binary-install/$(UDEB_PKG)::
|
|||||||
dh_install -p$(UDEB_PKG) $(mimedir)/mime.cache usr/share/mime
|
dh_install -p$(UDEB_PKG) $(mimedir)/mime.cache usr/share/mime
|
||||||
|
|
||||||
list-missing:
|
list-missing:
|
||||||
perl -w debian/dh_listmissing.pl $(foreach f,$(FLAVORS),$(subst $(CURDIR)/,,$(installbasedir))/$(f)) 2>&1 | \
|
# FIXME: remove this when CDBS' list-missing works with multiple flavors
|
||||||
|
perl -w debian/dh_listmissing.pl $(foreach f,$(DEB_MAKE_FLAVORS),debian/install/$(f)) 2>&1 | \
|
||||||
egrep -v '(\.la|$(LIBDIR)/gtk-3.0/$(GTK_BINARY_VERSION)/[^/]+/[^/]+\.a) has been installed' >&2
|
egrep -v '(\.la|$(LIBDIR)/gtk-3.0/$(GTK_BINARY_VERSION)/[^/]+/[^/]+\.a) has been installed' >&2
|
||||||
|
Reference in New Issue
Block a user