[mupen64plus-audio-sdl] 125/163: Enable link-time optimization in debian/rules similar to upstream

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:53:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecsv-guest pushed a commit to branch armhf_test
in repository mupen64plus-audio-sdl.

commit 510d949e17ba79ee4a2c05df80ff0bc9675f3c71
Author: Sven Eckelmann <sven at narfation.org>
Date:   Wed Jun 5 11:16:42 2013 +0200

    Enable link-time optimization in debian/rules similar to upstream
---
 debian/changelog | 1 +
 debian/rules     | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5099cd9..89c73f6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 mupen64plus-audio-sdl (2.0~rc2+1+ad849b6b7b69-1) UNRELEASED; urgency=low
 
   * New Upstream Snapshot from ad849b6b7b695da1b164194a815589727bf80b56
+  * Enable link-time optimization in debian/rules similar to upstream
 
  -- Sven Eckelmann <sven at narfation.org>  Wed, 05 Jun 2013 11:05:59 +0200
 
diff --git a/debian/rules b/debian/rules
index dee8276..d9afddc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,11 +2,12 @@
 # -*- makefile -*-
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+export DEB_CFLAGS_MAINT_APPEND=-flto
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
-MAKEOPTIONS = V=1 UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ LIBDIR="/usr/lib/$(DEB_HOST_MULTIARCH)" PIC=1 OPTFLAGS="-DNDEBUG" LTO=1 NO_OSS=1
+MAKEOPTIONS = V=1 UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ LIBDIR="/usr/lib/$(DEB_HOST_MULTIARCH)" PIC=1 OPTFLAGS="-DNDEBUG" NO_OSS=1
 
 DBG_PACKAGE=$(shell dpkg-parsechangelog|grep '^Source: '|sed 's/^Source:\s*//')-dbg
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-audio-sdl.git



More information about the Pkg-games-commits mailing list