[mupen64plus-video-rice] 143/191: Enable link-time optimization in debian/rules similar to upstream

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:17:28 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-video-rice.

commit 56d33e99d5cedd04a35750da565832592986af34
Author: Sven Eckelmann <sven at narfation.org>
Date:   Tue May 28 20:13:44 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 b7c3a8d..5a9c680 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ mupen64plus-video-rice (1.99.5+56+98eeb236c931-1) UNRELEASED; urgency=low
     - Depend on mupen64plus-dev >= 1.99.5+207+cbb5cbe2d4fc
     - Depend on mupen64plus-vidext-abi-3
     - Depend on mupen64plus-gfx-abi-2.2
+  * Enable link-time optimization in debian/rules similar to upstream
 
  -- Sven Eckelmann <sven at narfation.org>  Tue, 28 May 2013 20:05:39 +0200
 
diff --git a/debian/rules b/debian/rules
index e562edd..79c5535 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" SHAREDIR="/usr/share/games/mupen64plus/" LTO=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" SHAREDIR="/usr/share/games/mupen64plus/"
 
 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-video-rice.git



More information about the Pkg-games-commits mailing list