Accepting request 758334 from home:e9925248:branches:windows:mingw:win32

Revert last change

Adding -lssp to LDFLAGS causes other faults like expat, because libtool also has issues with -lssp.

If fstack-protector is in use, it needs to be passed to all gcc call.  The root cause of the cairo build failures are an outdated libtool, which drops -fstack-protector. Such build system needs to be regenerated using a newer libtool or updated with a newer
upstream version.

OBS-URL: https://build.opensuse.org/request/show/758334
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=110
This commit is contained in:
Fridrich Strba 2019-12-20 08:16:24 +00:00 committed by Git OBS Bridge
parent 6df576063b
commit 2c30c982aa
2 changed files with 6 additions and 1 deletions

View File

@ -31,7 +31,7 @@
# used for bootstrap packages
%_mingw64_ldflags_bootstrap %{_mingw64_ldflags_base}
# for normal packages
%_mingw64_ldflags %{_mingw64_ldflags_base} -fstack-protector -lssp
%_mingw64_ldflags %{_mingw64_ldflags_base} -fstack-protector
%_mingw64_classpath %{_mingw64_datadir}/java/libgcj.jar:%{_mingw64_datadir}/java/libgcj-tools.jar

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 18 21:49:44 UTC 2019 - Martin Koegler <martin.koegler@chello.at>
- Revert -lssp
-------------------------------------------------------------------
Tue Dec 17 09:21:43 UTC 2019 - Ralf Habacker <ralf.habacker@freenet.de>