summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-21 15:08:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-21 15:08:21 (GMT)
commitfcee3d36fd756683f04be4a52137afe680009517 (patch)
treedf7d6b01081f1f0b730ffbe78c9591d8ee64bccb /unix/Makefile.in
parentb0c8960e047e98418834bdddd879a3d1358c7607 (diff)
downloadtk-fcee3d36fd756683f04be4a52137afe680009517.zip
tk-fcee3d36fd756683f04be4a52137afe680009517.tar.gz
tk-fcee3d36fd756683f04be4a52137afe680009517.tar.bz2
Compile stub library with -fno-lto. See [https://core.tcl-lang.org/thread/info/98ae20f0f5|98ae20f0f5] for the reason why.
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 9cdd864..da041ba 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -1163,7 +1163,7 @@ tkStubInit.o: $(GENERIC_DIR)/tkStubInit.c
# even though they will be placed in a static archive
tkStubLib.o: $(GENERIC_DIR)/tkStubLib.c
- $(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkStubLib.c
+ $(CC) -c $(CC_SWITCHES) @CFLAGS_NOLTO@ $(GENERIC_DIR)/tkStubLib.c
tkUndo.o: $(GENERIC_DIR)/tkUndo.c
$(CC) -c $(CC_SWITCHES) $(GENERIC_DIR)/tkUndo.c
@@ -1433,7 +1433,7 @@ ttkStubInit.o: $(TTK_DIR)/ttkStubInit.c
$(CC) -c $(CC_SWITCHES) $(TTK_DIR)/ttkStubInit.c
ttkStubLib.o: $(TTK_DIR)/ttkStubLib.c
- $(CC) -c $(CC_SWITCHES) $(TTK_DIR)/ttkStubLib.c
+ $(CC) -c $(CC_SWITCHES) @CFLAGS_NOLTO@ $(TTK_DIR)/ttkStubLib.c
ttkTagSet.o: $(TTK_DIR)/ttkTagSet.c
$(CC) -c $(CC_SWITCHES) $(TTK_DIR)/ttkTagSet.c