[mupen64plus-video-glide64] 129/172: Enable link-time optimization in debian/rules similar to upstream

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:12:01 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-glide64.

commit f23b527a431871ab3abec98d22a95088b30c1334
Author: Sven Eckelmann <sven at narfation.org>
Date:   Wed Jun 5 11:17:32 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 6cab128..2f41faa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 mupen64plus-video-glide64 (1.99.5+23+ecd597fb6dcf-1) UNRELEASED; urgency=low
 
   * New Upstream Snapshot from ecd597fb6dcf8340f44832d3a28ea1716782375b
+  * Enable link-time optimization in debian/rules similar to upstream
 
  -- Sven Eckelmann <sven at narfation.org>  Wed, 05 Jun 2013 11:09:40 +0200
 
diff --git a/debian/rules b/debian/rules
index 9a6b175..7faef1c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,12 +2,13 @@
 # -*- makefile -*-
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
+export DEB_CFLAGS_MAINT_APPEND=-flto
 export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
 
 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-glide64.git



More information about the Pkg-games-commits mailing list