./libwpeditor-plus/debian r22: Use fnu LDFLAGS for profit

Loïc Minier lool at dooz.org
Thu Aug 28 01:41:45 UTC 2008


------------------------------------------------------------
revno: 22
committer: Loïc Minier <lool at dooz.org>
branch nick: debian
timestamp: Thu 2008-08-28 03:41:45 +0200
message:
  Use fnu LDFLAGS for profit
modified:
  debian/changelog
  debian/rules
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2008-08-28 01:36:38 +0000
+++ b/debian/changelog	2008-08-28 01:41:45 +0000
@@ -36,6 +36,7 @@
   * List all copyright holders and drop "author" since it's not clear who the
     authors are.
   * Tweak description.
+  * Use fnu LDFLAGS for profit
 
  -- Jonny Lamb <jonnylamb at jonnylamb.com>  Mon, 23 Jun 2008 01:26:26 +0100
 

=== modified file 'debian/rules'
--- a/debian/rules	2008-08-28 01:25:51 +0000
+++ b/debian/rules	2008-08-28 01:41:45 +0000
@@ -20,11 +20,13 @@
 CFLAGS += -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
 CFLAGS += $(if $(findstring thumb,$(DEB_BUILD_OPTIONS)),-mthumb)
 
+LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+
 config.status: config-stamp
 config-stamp:
 	[ -x configure ] || ./autogen.sh
 	dh_testdir
-	CFLAGS="$(CFLAGS)" ./configure $(configure_flags)
+	CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure $(configure_flags)
 	touch $@
 
 build: build-stamp



More information about the pkg-maemo-commits mailing list