aboutsummaryrefslogtreecommitdiffstats
path: root/main/cups/cups-nostrip.patch
blob: 62b3ce23449e50dc77fa82445f2731bb03a8f72d (plain)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
diff -ru a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4
--- a/config-scripts/cups-compiler.m4	2020-04-27 14:04:29.000000000 -0400
+++ b/config-scripts/cups-compiler.m4	2021-08-06 20:53:29.316010169 -0400
@@ -9,9 +9,6 @@
 
 dnl Clear the debugging and non-shared library options unless the user asks
 dnl for them...
-INSTALL_STRIP=""
-AC_SUBST(INSTALL_STRIP)
-
 AC_ARG_WITH(optim, [  --with-optim            set optimization flags ],
 	OPTIM="$withval",
 	OPTIM="")
@@ -25,8 +22,6 @@
 dnl For debugging, keep symbols, otherwise strip them...
 if test x$enable_debug = xyes -a "x$OPTIM" = x; then
 	OPTIM="-g"
-else
-	INSTALL_STRIP="-s"
 fi
 
 dnl Debug printfs can slow things down, so provide a separate option for that
diff -ru a/configure b/configure
--- a/configure	2020-04-27 14:04:29.000000000 -0400
+++ b/configure	2021-08-06 20:54:01.585892266 -0400
@@ -694,7 +694,6 @@
 ARCHFLAGS
 UNITTESTS
 OPTIM
-INSTALL_STRIP
 LIBTOOL_INSTALL
 LIBTOOL_CXX
 LIBTOOL_CC
@@ -6662,7 +6661,6 @@
 
 
 
-INSTALL_STRIP=""
 
 
 
@@ -6698,8 +6696,6 @@
 
 if test x$enable_debug = xyes -a "x$OPTIM" = x; then
 	OPTIM="-g"
-else
-	INSTALL_STRIP="-s"
 fi
 
 if test x$enable_debug_printfs = xyes; then
diff -ru a/Makedefs.in b/Makedefs.in
--- a/Makedefs.in	2020-04-27 14:04:29.000000000 -0400
+++ b/Makedefs.in	2021-08-06 20:53:42.565961754 -0400
@@ -45,12 +45,12 @@
 # Installation programs...
 #
 
-INSTALL_BIN	=	@LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@ @INSTALL_STRIP@
+INSTALL_BIN	=	@LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@
 INSTALL_COMPDATA =	$(INSTALL) -c -m 444 @INSTALL_GZIP@
 INSTALL_CONFIG	=	$(INSTALL) -c -m @CUPS_CONFIG_FILE_PERM@
 INSTALL_DATA	=	$(INSTALL) -c -m 444
 INSTALL_DIR	=	$(INSTALL) -d
-INSTALL_LIB	=	@LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@ @INSTALL_STRIP@
+INSTALL_LIB	=	@LIBTOOL_INSTALL@ $(INSTALL) -c -m @CUPS_EXE_FILE_PERM@
 INSTALL_MAN	=	$(INSTALL) -c -m 444
 INSTALL_SCRIPT	=	$(INSTALL) -c -m @CUPS_EXE_FILE_PERM@