Fix LTO build 25/203625/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_base accepted/tizen_6.0_base_tool accepted/tizen_6.0_base_tool_hotfix accepted/tizen_6.5_base accepted/tizen_6.5_base_tool accepted/tizen_unified backup/expect-5.45-20211216 tizen tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0_base tizen_6.0_base_hotfix tizen_6.5_base accepted/tizen/5.5/unified/20191031.005622 accepted/tizen/5.5/unified/mobile/hotfix/20201027.062545 accepted/tizen/5.5/unified/wearable/hotfix/20201027.102720 accepted/tizen/6.0/base/20201029.110523 accepted/tizen/6.0/base/20230713.142828 accepted/tizen/6.0/base/tool/20201029.112000 accepted/tizen/6.0/base/tool/hotfix/20201030.124712 accepted/tizen/6.0/base/tool/hotfix/20201102.085952 accepted/tizen/6.5/base/20230714.002455 accepted/tizen/6.5/base/tool/20211027.115145 accepted/tizen/base/20200403.032832 accepted/tizen/unified/20190509.041046 submit/tizen/20190509.004003 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185106 submit/tizen_5.5_wearable_hotfix/20201026.184306 submit/tizen_6.0_base/20201029.184801 submit/tizen_6.0_base_hotfix/20201030.192501 submit/tizen_6.0_base_hotfix/20201102.162701 submit/tizen_6.5_base/20211026.180901 submit/tizen_6.5_base/20211027.183101 submit/tizen_6.5_base/20211027.200601 submit/tizen_base/20200402.112753 tizen_5.5.m2_release tizen_6.0.m2_release tizen_6.5.m2_release
authorSlava Barinov <v.barinov@samsung.com>
Tue, 16 Apr 2019 07:40:32 +0000 (10:40 +0300)
committerSlava Barinov <v.barinov@samsung.com>
Tue, 16 Apr 2019 09:01:12 +0000 (12:01 +0300)
Change-Id: I06a32585e8089d69bd81cd6ae982dda4d61d6742

packaging/expect.spec
tclconfig/tcl.m4

index 2fd4e7e..10dc1e4 100644 (file)
@@ -35,12 +35,12 @@ expect package loaded.
 cp %{SOURCE1001} .
 
 %build
-autoreconf
-%configure \
+%reconfigure \
        --with-tcl=%_libdir \
        --with-tk=no_tk \
        --with-tclinclude=%_includedir \
        --enable-shared
+
 make %{?_smp_mflags} all pkglibdir=%_libdir/tcl/%name%version
 
 
index 396d920..5d55e5f 100644 (file)
@@ -402,7 +402,7 @@ AC_DEFUN([TEA_LOAD_TCLCONFIG], [
     eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
     eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
     eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
-    eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
+    eval "TCL_STUB_LIB_SPEC=\"-Wl,--whole-archive,${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE},--no-whole-archive\""
 
     AC_SUBST(TCL_VERSION)
     AC_SUBST(TCL_PATCH_LEVEL)