diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-10-16 14:04:24 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2020-10-16 14:04:24 +0000 |
commit | b6c134e1b38b72ff2c81fa47fe7ff195d5238767 (patch) | |
tree | 74db07614f7b524fcebdf2408ccc7b176d718519 /lang/intel-compute-runtime/files/patch-rtld | |
parent | lang/chibi-scheme: modernize, sync patches with upstream PRs (diff) |
lang/intel-compute-runtime: use RTLD_DEEPBIND on FreeBSD >= 12.2
https://svnweb.freebsd.org/changeset/base/361380
https://github.com/intel/compute-runtime/issues/122
Notes
Notes:
svn path=/head/; revision=552511
Diffstat (limited to 'lang/intel-compute-runtime/files/patch-rtld')
-rw-r--r-- | lang/intel-compute-runtime/files/patch-rtld | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/intel-compute-runtime/files/patch-rtld b/lang/intel-compute-runtime/files/patch-rtld index 0bf71919aea1..4487fc0b692b 100644 --- a/lang/intel-compute-runtime/files/patch-rtld +++ b/lang/intel-compute-runtime/files/patch-rtld @@ -12,7 +12,7 @@ core/os_interface/linux/os_library_linux.cpp:35:49: error: 'RTLD_DEEPBIND' was n this->handle = dlopen(0, RTLD_LAZY); } else { -#ifdef SANITIZER_BUILD -+#if defined(SANITIZER_BUILD) || !defined(__linux__) ++#if defined(SANITIZER_BUILD) || !defined(RTLD_DEEPBIND) constexpr auto dlopenFlag = RTLD_LAZY; #else constexpr auto dlopenFlag = RTLD_LAZY | RTLD_DEEPBIND; |