mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 04:36:17 +01:00
ci: Add -fstack-protector to mingw64 cross file
See the comment in the code. As suggested by Nirbheek: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2287#note_1285058. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
59832abb69
commit
f432ebf7d5
@ -4,9 +4,12 @@ cpu_family = 'x86_64'
|
||||
cpu = 'x86_64'
|
||||
endian = 'little'
|
||||
|
||||
# Fedora builds GCC with --enable-default-ssp by default, but mingw64 puts its
|
||||
# stack-protected functions in a separate library which needs to be linked
|
||||
# explicitly, hence this flag.
|
||||
[properties]
|
||||
c_args = []
|
||||
c_link_args = []
|
||||
c_link_args = ['-fstack-protector']
|
||||
|
||||
[binaries]
|
||||
c = 'x86_64-w64-mingw32-gcc'
|
||||
|
Loading…
Reference in New Issue
Block a user