From 266405628ec36d79ecfad59e9bdb129d754cd0cc Mon Sep 17 00:00:00 2001 From: Yves-Alexis Perez Date: Mon, 31 Jan 2011 10:50:38 +0100 Subject: [PATCH] add -O1 to LDFLAGS. --- debian/changelog | 3 ++- debian/rules | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index bb6e5667..2371201a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,7 @@ midori (0.3.0-1.1) UNRELEASED; urgency=low - remove waf stuff, midori waf has been updated so it's no longer needed to dynamically patch waf for HPPA. - install $(DISTRO)-config to /etc/xdg/midori to tune the default homepage + - add -O1 to LDFLAGS. * debian/{Ubuntu,Debian}-config added, with default homepage setting. * debian/patches: - add-debian-search refreshed. @@ -17,7 +18,7 @@ midori (0.3.0-1.1) UNRELEASED; urgency=low * debian/control: - drop quilt build-dep, useless now. - -- Yves-Alexis Perez Mon, 31 Jan 2011 08:08:20 +0100 + -- Yves-Alexis Perez Mon, 31 Jan 2011 10:49:05 +0100 midori (0.2.7-1.1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index e1a2b320..254a3066 100755 --- a/debian/rules +++ b/debian/rules @@ -3,8 +3,8 @@ LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS) CFLAGS=$(shell dpkg-buildflags --get CFLAGS) CFLAGS+=$(HARDENING_CFLAGS) -#LDFLAGS+=-Wl,-z,defs -Wl,--as-needed $(HARDENING_LDFLAGS) -LDFLAGS+=-Wl,--as-needed $(HARDENING_LDFLAGS) +#LDFLAGS+=-Wl,-z,defs -Wl,--as-needed -Wl,-O1 $(HARDENING_LDFLAGS) +LDFLAGS+=-Wl,--as-needed -Wl,-O1 $(HARDENING_LDFLAGS) # waf, thank you _so_ much CCFLAGS=$(CFLAGS) -- 2.39.5