]> git.pld-linux.org Git - packages/tcl.git/blame - tcl-opt.patch
- up to 8.6.1; drop readline patch (there is external tcl module for this afaik now...
[packages/tcl.git] / tcl-opt.patch
CommitLineData
ce1cf2f9
AM
1diff -urN tcl8.5a2.org/unix/Makefile.in tcl8.5a2/unix/Makefile.in
2--- tcl8.5a2.org/unix/Makefile.in 2004-12-08 00:16:06.000000000 +0100
3+++ tcl8.5a2/unix/Makefile.in 2005-04-04 13:15:13.000000000 +0200
4@@ -94,9 +94,9 @@
8c120865
JK
5 # To change the compiler switches, for example to change from optimization to
6 # debugging symbols, change the following line:
7 #CFLAGS = $(CFLAGS_DEBUG)
8-#CFLAGS = $(CFLAGS_OPTIMIZE)
9+CFLAGS = $(CFLAGS_OPTIMIZE)
10 #CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
ce1cf2f9
AM
11-CFLAGS = @CFLAGS_DEFAULT@ @CFLAGS@
12+#CFLAGS = @CFLAGS_DEFAULT@ @CFLAGS@
8c120865 13
bd32470e
AF
14 # Flags to pass to the linker
15 LDFLAGS_DEBUG = @LDFLAGS_DEBUG@
b3b916a1
AM
16--- tcl8.6.1/unix/tcl.m4~ 2013-09-19 22:17:13.000000000 +0200
17+++ tcl8.6.1/unix/tcl.m4 2014-05-31 19:44:20.670186134 +0200
18@@ -1114,7 +1114,7 @@
19 TCL_LIB_VERSIONS_OK=ok
20 CFLAGS_DEBUG=-g
21 AS_IF([test "$GCC" = yes], [
22- CFLAGS_OPTIMIZE=-O2
23+ CFLAGS_OPTIMIZE=${OPTFLAGS}
24 CFLAGS_WARNING="-Wall"
25 ], [
26 CFLAGS_OPTIMIZE=-O
27@@ -1409,7 +1409,7 @@
28 SHLIB_CFLAGS="-fPIC"
29 SHLIB_SUFFIX=".so"
30
31- CFLAGS_OPTIMIZE="-O2"
32+ CFLAGS_OPTIMIZE="${OPTFLAGS}"
33 # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings
34 # when you inline the string and math operations. Turn this off to
35 # get rid of the warnings.
36@@ -1507,7 +1507,7 @@
37 CFLAGS_OPTIMIZE="-O0"
38 ;;
39 *)
40- CFLAGS_OPTIMIZE="-O2"
41+ CFLAGS_OPTIMIZE="${OPTFLAGS}"
42 ;;
43 esac
44 AS_IF([test "${TCL_THREADS}" = "1"], [
This page took 0.595967 seconds and 4 git commands to generate.