summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-21 15:31:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-21 15:31:28 (GMT)
commit207a4b3122d2661aa2092107a282d959495be4ad (patch)
treeb4330b313d90a6758a49d131cc7259f2acb052bb /unix/Makefile.in
parentab2df517269ab27a1b84a3dfc911813296cfbca6 (diff)
parenta9f031fc1a3775190eb77ffbfe13027da561a602 (diff)
downloadtcl-207a4b3122d2661aa2092107a282d959495be4ad.zip
tcl-207a4b3122d2661aa2092107a282d959495be4ad.tar.gz
tcl-207a4b3122d2661aa2092107a282d959495be4ad.tar.bz2
Fix [https://core.tcl-lang.org/thread/info/98ae20f0f5|98ae20f0f5] by no longer compile the stub library using LTO (even if CFLAGS enables LTO)
Diffstat (limited to 'unix/Makefile.in')
-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..803ccfd 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 @CFLAGS_NOLTO@ $(GENERIC_DIR)/tclStubLib.c
tclTomMathStubLib.o: $(GENERIC_DIR)/tclTomMathStubLib.c
- $(CC) -c $(STUB_CC_SWITCHES) $(GENERIC_DIR)/tclTomMathStubLib.c
+ $(CC) -c $(STUB_CC_SWITCHES) @CFLAGS_NOLTO@ $(GENERIC_DIR)/tclTomMathStubLib.c
tclOOStubLib.o: $(GENERIC_DIR)/tclOOStubLib.c
- $(CC) -c $(STUB_CC_SWITCHES) $(GENERIC_DIR)/tclOOStubLib.c
+ $(CC) -c $(STUB_CC_SWITCHES) @CFLAGS_NOLTO@ $(GENERIC_DIR)/tclOOStubLib.c
.c.o:
$(CC) -c $(CC_SWITCHES) $<