SHA256
1
0
forked from pool/expect

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:
Reinhard Max 2021-05-04 11:31:06 +00:00 committed by Git OBS Bridge
parent 70b5579646
commit be63b9b0c9
2 changed files with 9 additions and 1 deletions

View File

@ -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>

View File

@ -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