]> git.pld-linux.org Git - packages/tk.git/blame - tk-opt_flags_pass_fix.patch
- up to 8.6.7
[packages/tk.git] / tk-opt_flags_pass_fix.patch
CommitLineData
454f92dc
AM
1--- tcl8.6.1/unix/tcl.m4~ 2013-09-19 22:17:13.000000000 +0200
2+++ tcl8.6.1/unix/tcl.m4 2014-05-31 19:44:20.670186134 +0200
3@@ -1114,7 +1114,7 @@
239ce441 4 TCL_LIB_VERSIONS_OK=ok
5 CFLAGS_DEBUG=-g
2d709f64 6 AS_IF([test "$GCC" = yes], [
454f92dc
AM
7- CFLAGS_OPTIMIZE=-O2
8+ CFLAGS_OPTIMIZE=${OPTFLAGS}
9 CFLAGS_WARNING="-Wall"
10 ], [
11 CFLAGS_OPTIMIZE=-O
12@@ -1409,7 +1409,7 @@
13 SHLIB_CFLAGS="-fPIC"
14 SHLIB_SUFFIX=".so"
15
16- CFLAGS_OPTIMIZE="-O2"
17+ CFLAGS_OPTIMIZE="${OPTFLAGS}"
18 # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings
19 # when you inline the string and math operations. Turn this off to
20 # get rid of the warnings.
06cff5cd 21
This page took 0.059385 seconds and 4 git commands to generate.