20815271 libtcl8.5 failed at link stage with new 64-bit compiler
authorJohn Beck <John.Beck@Oracle.COM>
Tue, 12 May 2015 14:32:20 -0700
changeset 4278 c237501634cd
parent 4272 842ee8dc3530
child 4285 62b9e629e113
20815271 libtcl8.5 failed at link stage with new 64-bit compiler
components/tcl/tcl/Makefile
--- a/components/tcl/tcl/Makefile	Mon May 11 16:28:43 2015 -0700
+++ b/components/tcl/tcl/Makefile	Tue May 12 14:32:20 2015 -0700
@@ -54,8 +54,10 @@
 CONFIGURE_SCRIPT = $(SOURCE_DIR)/unix/configure
 
 CFLAGS += $(studio_XREGS) -xstrconst $(XPG6MODE) $(studio_C99_ENABLE)
+LDFLAGS += $(CC_BITS)
 
 CONFIGURE_OPTIONS 	+= CFLAGS="$(CFLAGS)"
+CONFIGURE_OPTIONS 	+= LDFLAGS="$(LDFLAGS)"
 CONFIGURE_OPTIONS	+= --enable-shared
 CONFIGURE_OPTIONS	+= --enable-man-symlinks
 CONFIGURE_OPTIONS	+= --enable-threads