[mupen64plus-core] 206/310: Enable link-time optimization in debian/rules similar to upstream

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:58:01 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-core.

commit 766067123ac1d409c0b4ee5e984861ad6b80a75b
Author: Sven Eckelmann <sven at narfation.org>
Date:   Tue May 28 19:35: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 56ce5ad..c70f31c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ mupen64plus-core (1.99.5+207+cbb5cbe2d4fc-1) UNRELEASED; urgency=low
     - Provide mupen64plus-frontend-abi-2.1.1
     - Remove old mupen64plus-frontend-abi-2.0.1/2.0.2
     - Provide 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 19:26:55 +0200
 
diff --git a/debian/rules b/debian/rules
index 439ca92..aea4bdc 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 DEBUGGER=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 DEBUGGER=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
 
 binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep:

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



More information about the Pkg-games-commits mailing list