[mupen64plus-video-arachnoid] 112/147: Enable link-time optimization in debian/rules similar to upstream

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:09:55 UTC 2015


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

ecsv-guest pushed a commit to branch master
in repository mupen64plus-video-arachnoid.

commit 386d4d4975af353b932dd1ea29ae3bc4d2289004
Author: Sven Eckelmann <sven at narfation.org>
Date:   Wed Jun 5 11:17:25 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 36eb67f..8e4526c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 mupen64plus-video-arachnoid (1.99.5+22+711f2d8cbdcd-1) UNRELEASED; urgency=low
 
   * New Upstream Snapshot from 711f2d8cbdcd3bc1eb58891220494d411c5c3cdb
+  * Enable link-time optimization in debian/rules similar to upstream
 
  -- Sven Eckelmann <sven at narfation.org>  Wed, 05 Jun 2013 11:09:25 +0200
 
diff --git a/debian/rules b/debian/rules
index e8d3441..fe293b9 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
+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"
 
 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-arachnoid.git



More information about the Pkg-games-commits mailing list