add -O1 to LDFLAGS.

This commit is contained in:
Yves-Alexis Perez 2011-01-31 10:50:38 +01:00
parent 7eb429993e
commit 266405628e
2 changed files with 4 additions and 3 deletions

3
debian/changelog vendored
View file

@ -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 <corsac@debian.org> Mon, 31 Jan 2011 08:08:20 +0100
-- Yves-Alexis Perez <corsac@debian.org> Mon, 31 Jan 2011 10:49:05 +0100
midori (0.2.7-1.1) unstable; urgency=low

4
debian/rules vendored
View file

@ -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)