meson.build: turn off stack protection for rtdl
@@ -206,7 +206,8 @@ if not headers_only
if not static
ldso_lib = shared_library('ld', rtdl_sources,
name_prefix: '',
- cpp_args: ['-fvisibility=hidden', '-DMLIBC_BUILDING_RTDL', '-DFRIGG_HAVE_LIBC'],
+ cpp_args:['-fvisibility=hidden', '-DMLIBC_BUILDING_RTDL', '-DFRIGG_HAVE_LIBC',
+ '-fno-stack-protector'],
include_directories: rtdl_include_dirs,
dependencies: rtdl_deps,
install: true)
@@ -233,7 +234,8 @@ if not headers_only
else
ldso_lib = static_library('ld', rtdl_sources,
name_prefix: '',
- cpp_args: ['-fvisibility=hidden', '-DMLIBC_BUILDING_RTDL', '-DFRIGG_HAVE_LIBC'],
+ cpp_args: ['-fvisibility=hidden', '-DMLIBC_BUILDING_RTDL', '-DFRIGG_HAVE_LIBC',
+ '-fno-stack-protector'],
include_directories: rtdl_include_dirs,
dependencies: rtdl_deps,
install: false)
