Tcl Source Code

Artifact [27f73ade68]
Login

Artifact 27f73ade68f97e07804a0a9c1e1b4296ed1094e3:

Attachment "windows.patch" to ticket [624541ffff] added by kirben 2002-10-17 16:48:26.
diff -bur otcl-8.3.5/win/configure.in tcl-8.3.5/win/configure.in
--- otcl-8.3.5/win/configure.in	2002-10-16 11:30:20.000000000 +1000
+++ tcl-8.3.5/win/configure.in	2002-10-17 19:36:18.000000000 +1000
@@ -30,6 +30,12 @@
 # be fully tested by built-in autoconf tools.
 #--------------------------------------------------------------------
  
+# If the user did not set CFLAGS, set it now to keep
+# the AC_PROG_CC macro from adding "-g -O2".
+if test "${CFLAGS+set}" != "set" ; then
+    CFLAGS=""
+fi
+
 SC_ENABLE_GCC
 #AC_PROG_CC