]> git.pld-linux.org Git - packages/tk.git/blob - tk-opt_flags_pass_fix.patch
Up to 8.6.12.
[packages/tk.git] / tk-opt_flags_pass_fix.patch
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 @@ -1074,7 +1074,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
4      TCL_LIB_VERSIONS_OK=ok
5      CFLAGS_DEBUG=-g
6      AS_IF([test "$GCC" = yes], [
7 -       CFLAGS_OPTIMIZE=-O2
8 +       CFLAGS_OPTIMIZE=${OPTFLAGS}
9         CFLAGS_WARNING="-Wall -Wpointer-arith"
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.
21
This page took 0.075721 seconds and 3 git commands to generate.