Accepting request 890323 from home:mgerstner:branches:devel:languages:tcl
- fix previous change regarding PIE linking. Passing SHLIB_CFLAGS="-shared" causes /usr/bin/expect to become a shared library that SEGFAULTs upon execution. Instead use SHLIB_LD to pass -shared only to shared library linking. OBS-URL: https://build.opensuse.org/request/show/890323 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/expect?expand=0&rev=27
This commit is contained in:
parent
70b5579646
commit
be63b9b0c9
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 4 11:02:42 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com>
|
||||
|
||||
- fix previous change regarding PIE linking. Passing SHLIB_CFLAGS="-shared"
|
||||
causes /usr/bin/expect to become a shared library that SEGFAULTs upon
|
||||
execution. Instead use SHLIB_LD to pass -shared only to shared library
|
||||
linking.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 21 13:13:28 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com>
|
||||
|
||||
|
@ -66,7 +66,7 @@ autoreconf
|
||||
--with-tk=no_tk \
|
||||
--with-tclinclude=%_includedir \
|
||||
--enable-shared
|
||||
make SHLIB_CFLAGS="-shared" %{?_smp_mflags} all pkglibdir=%_libdir/tcl/%name%version
|
||||
make SHLIB_LD="gcc -shared" %{?_smp_mflags} all pkglibdir=%_libdir/tcl/%name%version
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} test
|
||||
|
Loading…
Reference in New Issue
Block a user