27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
|
Index: unix/Makefile.in
|
||
|
==================================================================
|
||
|
--- unix/Makefile.in
|
||
|
+++ unix/Makefile.in
|
||
|
@@ -1783,17 +1783,17 @@
|
||
|
# Stub library binaries, these must be compiled for use in a shared library
|
||
|
# even though they will be placed in a static archive
|
||
|
#--------------------------------------------------------------------------
|
||
|
|
||
|
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) $<
|
||
|
|
||
|
#--------------------------------------------------------------------------
|
||
|
|