The Samba-Bugzilla – Attachment 5706 Details for
Bug 7428
[PATCH] Use strip, have autoconf search it.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use strip, have autoconf search it
0001-Use-strip-have-autoconf-search-it.patch (text/plain), 1.39 KB, created by
bugzilla.samba.puzzle890
on 2010-05-13 13:55:26 UTC
(
hide
)
Description:
Use strip, have autoconf search it
Filename:
MIME Type:
Creator:
bugzilla.samba.puzzle890
Created:
2010-05-13 13:55:26 UTC
Size:
1.39 KB
patch
obsolete
>From 104785ddfae59e3bee23049549b629df846dcaab Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi> >Date: Thu, 13 May 2010 20:07:04 +0300 >Subject: [PATCH] Use strip, have autoconf search it. > >Makes it possible to override the strip command as well as to disable it, >plus other benefits of AC_CHECK_TOOL. >--- > Makefile.in | 4 +++- > configure.ac | 1 + > 2 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/Makefile.in b/Makefile.in >index eed2f58..e377f0f 100644 >--- a/Makefile.in >+++ b/Makefile.in >@@ -13,6 +13,7 @@ CFLAGS = @CFLAGS@ > CPPFLAGS = @CPPFLAGS@ -I. > LDFLAGS = @LDFLAGS@ > EXEEXT = @EXEEXT@ >+STRIP = @STRIP@ > > libs = @LIBS@ -lm > >@@ -47,7 +48,8 @@ ccache.1: manual.xml > .PHONY: install > install: all > $(installcmd) -d $(DESTDIR)$(bindir) >- $(installcmd) -s -m 755 ccache$(EXEEXT) $(DESTDIR)$(bindir) >+ $(installcmd) -m 755 ccache$(EXEEXT) $(DESTDIR)$(bindir) >+ $(STRIP) $(DESTDIR)$(bindir)/ccache$(EXEEXT) > $(installcmd) -d $(DESTDIR)$(mandir)/man1 > -$(installcmd) -m 644 $(srcdir)/ccache.1 $(DESTDIR)$(mandir)/man1/ > >diff --git a/configure.ac b/configure.ac >index 585ba46..e921675 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -19,6 +19,7 @@ dnl Checks for programs. > AC_PROG_CC > AC_PROG_CPP > AC_PROG_INSTALL >+AC_CHECK_TOOL([STRIP], [strip], [:]) > > AC_DEFINE([_GNU_SOURCE], 1, > [Define _GNU_SOURCE so that we get all necessary prototypes]) >-- >1.7.0.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7428
: 5706