File: 06_prevent_forced_binary_stripping.dpatch

package info (click to toggle)
toshset 1.73-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 484 kB
  • ctags: 572
  • sloc: sh: 3,589; cpp: 2,938; ansic: 1,057; makefile: 190
file content (42 lines) | stat: -rw-r--r-- 1,046 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#! /bin/sh /usr/share/dpatch/dpatch-run
## 06_prevent_forced_binary_stripping.dpatch by  <roberto@connexer.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Remove -s from LDFLAGS

@DPATCH@

diff -uNr toshset-1.72.orig/Makefile.in toshset-1.72/Makefile.in
--- toshset-1.72.orig/Makefile.in	2006-09-17 14:18:45.000000000 -0400
+++ toshset-1.72/Makefile.in	2007-09-17 18:42:13.000000000 -0400
@@ -133,7 +133,7 @@
 MANDESTDIR = @mandir@/man1
 
 
-LDFLAGS = -s
+LDFLAGS =
 
 PROGRAMS = @PROGRAMS@
 MANPAGES = @MANPAGES@
diff -uNr toshset-1.72.orig/configure.in toshset-1.72/configure.in
--- toshset-1.72.orig/configure.in	2006-09-17 14:18:45.000000000 -0400
+++ toshset-1.72/configure.in	2007-09-17 18:42:24.000000000 -0400
@@ -17,10 +17,6 @@
     DEBUGFLAGS='-g -DDEBUG'
   fi)
 
-if test -z "$DEBUGFLAGS"; then
-	LDFLAGS='-s'
-fi
-
 dnl **** We only support Linux ****
 
 AC_CANONICAL_HOST
@@ -60,7 +56,6 @@
 AC_SUBST(VERSION)
 AC_SUBST(OS_CFLAGS)
 AC_SUBST(DEBUGFLAGS)
-AC_SUBST(LDFLAGS)
 
 AC_OUTPUT(Makefile)