/[gentoo-x86]/app-office/libreoffice/files/libreoffice-honor-strip.patch
Gentoo

Contents of /app-office/libreoffice/files/libreoffice-honor-strip.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Apr 26 11:53:14 2012 UTC (2 years, 3 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Stable on ppc wrt bug#411449. Cleanup.

(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

1 From dcdcc53e25fce09be486d4ea700f8a72895a1e69 Mon Sep 17 00:00:00 2001
2 From: Stephan Bergmann <sbergman@redhat.com>
3 Date: Tue, 06 Sep 2011 07:39:07 +0000
4 Subject: Honor --disable-strip in gbuild.
5
6 ---
7 diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
8 index 48bebeb..329eefa 100644
9 --- a/solenv/gbuild/gbuild.mk
10 +++ b/solenv/gbuild/gbuild.mk
11 @@ -87,6 +87,12 @@ else
12 gb_SYMBOL := $(false)
13 endif
14
15 +ifeq ($(strip $(DISABLE_STRIP)$(disable_strip)),)
16 +gb_STRIP := $(true)
17 +else
18 +gb_STRIP := $(false)
19 +endif
20 +
21 gb_DEBUGLEVEL := 0
22 ifneq ($(strip $(DEBUG)$(debug)),)
23 gb_DEBUGLEVEL := 1
24 diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
25 index 4234c71..5c71bd4 100644
26 --- a/solenv/gbuild/platform/unxgcc.mk
27 +++ b/solenv/gbuild/platform/unxgcc.mk
28 @@ -163,9 +163,11 @@ gb_LinkTarget_LDFLAGS += \
29 endif
30
31 ifneq ($(gb_SYMBOL),$(true))
32 -gb_LinkTarget_LDFLAGS += \
33 - -Wl,--strip-all \
34 -
35 +ifeq ($(gb_STRIP),$(true))
36 +gb_LinkTarget_LDFLAGS += -Wl,--strip-all
37 +else
38 +gb_LinkTarget_LDFLAGS += -Wl,--strip-debug
39 +endif
40 endif
41
42 ifneq ($(gb_DEBUGLEVEL),0)
43 --
44 cgit v0.9.0.2-2-gbebe

  ViewVC Help
Powered by ViewVC 1.1.20