summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-15 09:47:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-15 09:47:36 (GMT)
commita7bc79bffba1cfd0b449e23de87a1f8cb70d3359 (patch)
tree33bf5d43e2a38183fafc660c743e639e318546e1
parentaa7bf1b2e138bde9996a2b899df33b8e3a4f534b (diff)
downloadtcl-a7bc79bffba1cfd0b449e23de87a1f8cb70d3359.zip
tcl-a7bc79bffba1cfd0b449e23de87a1f8cb70d3359.tar.gz
tcl-a7bc79bffba1cfd0b449e23de87a1f8cb70d3359.tar.bz2
Experiment: Fix [https://core.tcl-lang.org/thread/tktview?name=98ae20f0f5|98ae20f0f5]. Works for any extension using this construct, not only Thread
-rw-r--r--unix/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index a68a6f4..fd07cd2 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -1785,13 +1785,13 @@ Zzutil.o: $(ZLIB_DIR)/zutil.c
#--------------------------------------------------------------------------
tclStubLib.o: $(GENERIC_DIR)/tclStubLib.c
- $(CC) -c $(STUB_CC_SWITCHES) -DSTATIC_BUILD $(GENERIC_DIR)/tclStubLib.c
+ $(CC) -c $(STUB_CC_SWITCHES) -DSTATIC_BUILD -fno-lto $(GENERIC_DIR)/tclStubLib.c
tclTomMathStubLib.o: $(GENERIC_DIR)/tclTomMathStubLib.c
- $(CC) -c $(STUB_CC_SWITCHES) $(GENERIC_DIR)/tclTomMathStubLib.c
+ $(CC) -c $(STUB_CC_SWITCHES) -DSTATIC_BUILD -fno-lto $(GENERIC_DIR)/tclTomMathStubLib.c
tclOOStubLib.o: $(GENERIC_DIR)/tclOOStubLib.c
- $(CC) -c $(STUB_CC_SWITCHES) $(GENERIC_DIR)/tclOOStubLib.c
+ $(CC) -c $(STUB_CC_SWITCHES) -DSTATIC_BUILD -fno-lto $(GENERIC_DIR)/tclOOStubLib.c
.c.o:
$(CC) -c $(CC_SWITCHES) $<