beca7308a4
- https://core.tcl-lang.org/thread/tktview?name=98ae20f0f5: Add tcl-aa4a13c15516da45.patch to disable lto for the stubs libraries. OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tcl?expand=0&rev=131
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) $<
|
|
|
|
#--------------------------------------------------------------------------
|
|
|