mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 05:38:02 +02:00
Merge branch 'link-to-the-ssp-static-library-when-fortify-source-is-enabled' into 'master'
Link to -lssp when enabling _FORTIFY_SOURCE See merge request cairo/cairo!331
This commit is contained in:
commit
b5d2395a5f
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ if cc.get_id() != 'msvc'
|
|||
]
|
||||
|
||||
if get_option('optimization') in ['1', '2', '3']
|
||||
cflags += '-Wp,-D_FORTIFY_SOURCE=2'
|
||||
cflags += '-Wp,-D_FORTIFY_SOURCE=2 -Wl,-lssp'
|
||||
endif
|
||||
|
||||
supported_cflags = cc.get_supported_arguments(cflags)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue