[Pkg-sdl-commits] [SCM] Debian packaging of SDL_image 1.2 branch, master, updated. debian/1.2.11-2-12-gbf31386

Felix Geyer debfx-pkg at fobos.de
Tue Feb 7 15:04:45 UTC 2012


The following commit has been merged in the master branch:
commit 186712f4abb28c70baa485f1cd8b69d8374fba5f
Author: Felix Geyer <debfx-pkg at fobos.de>
Date:   Tue Feb 7 15:31:26 2012 +0100

    Build with -Wl,--as-needed.

diff --git a/debian/changelog b/debian/changelog
index ff775ce..b7572b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ sdl-image1.2 (1.2.12-1) UNRELEASED; urgency=low
     from upstream.
   * Add a symbols file.
   * Fix typo in dh_installchangelogs override name.
+  * Build with -Wl,--as-needed.
 
  -- Felix Geyer <debfx-pkg at fobos.de>  Mon, 06 Feb 2012 18:08:31 +0100
 
diff --git a/debian/rules b/debian/rules
index c71ee98..a3a0ad3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,11 +2,7 @@
 
 #export DH_VERBOSE=1
 
-# mafm: introduced but commented out for new upstream 1.2.11-1, to uncomment
-# later when 1.2.11 is known to work fine
-#
-#export DEB_CFLAGS_MAINT_APPEND = -pipe -Wall
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined -Wl,-Bsymbolic -Wl,--as-needed
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 
 # features -- disable building as plugins, otherwise dh_shlibs
@@ -19,7 +15,7 @@ confflags += --disable-webp-shared
 	dh $@ --with autoreconf --parallel
 
 override_dh_autoreconf:
-	dh_autoreconf ./autogen.sh
+	AUTOMAKE="automake --foreign" dh_autoreconf --as-needed
 
 override_dh_auto_configure:
 	dh_auto_configure -- $(confflags)

-- 
Debian packaging of SDL_image 1.2



More information about the pkg-sdl-commits mailing list