r52164 - in /desktop/experimental/glib2.0/debian: changelog rules

smcv at users.alioth.debian.org smcv at users.alioth.debian.org
Sat Mar 4 12:53:20 UTC 2017


Author: smcv
Date: Sat Mar  4 12:53:20 2017
New Revision: 52164

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=52164
Log:
Use dpkg-buildflags variables to extend LDFLAGS

Modified:
    desktop/experimental/glib2.0/debian/changelog
    desktop/experimental/glib2.0/debian/rules

Modified: desktop/experimental/glib2.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/changelog?rev=52164&op=diff
==============================================================================
--- desktop/experimental/glib2.0/debian/changelog	[utf-8] (original)
+++ desktop/experimental/glib2.0/debian/changelog	[utf-8] Sat Mar  4 12:53:20 2017
@@ -32,6 +32,7 @@
   * Remove indirection via $(SHARED_PKG), etc. variables
   * Let dh_gnome_clean update the Uploaders instead of reinventing it
   * debian/dh_listmissing.pl: Remove
+  * Use dpkg-buildflags variables to extend LDFLAGS
 
  -- Simon McVittie <smcv at debian.org>  Thu, 02 Mar 2017 09:15:48 +0000
 

Modified: desktop/experimental/glib2.0/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/glib2.0/debian/rules?rev=52164&op=diff
==============================================================================
--- desktop/experimental/glib2.0/debian/rules	[utf-8] (original)
+++ desktop/experimental/glib2.0/debian/rules	[utf-8] Sat Mar  4 12:53:20 2017
@@ -1,21 +1,22 @@
 #!/usr/bin/make -f
 
-include /usr/share/dpkg/default.mk
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
 
 GNOME_MODULE := glib
 
 # Ensure the build aborts when there are still references to undefined symbols
-LDFLAGS += -Wl,-z,defs
+DEB_LDFLAGS_MAINT_APPEND += -Wl,-z,defs
 
 # NB: do NOT use -Wl,--as-needed to build glib; for instance the link to
 # pthread is carefully crafted to allow dlopen()ing pthread-using libs; see
 # http://mid.gmane.org/1257999019.21780.15.camel@marzipan
-LDFLAGS += -Wl,--no-as-needed
+DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed
 
 # Make the linker work a bit harder so dynamic loading can be done faster
-LDFLAGS += -Wl,-O1
+DEB_LDFLAGS_MAINT_APPEND += -Wl,-O1
+
+include /usr/share/dpkg/default.mk
 
 %:
 	dh $@ --with gnome,python3




More information about the pkg-gnome-commits mailing list