llvm-project/openmp/libomptarget/plugins/amdgpu
Dimitry Andric 400cd6d2f0 [libomptarget][amdgpu] use --allow-shlib-undefined to link on FreeBSD
On FreeBSD, the `environ` symbol is undefined at link time for shared
libraries, but resolved by the dynamic linker at runtime. Therefore,
allow the symbol to be undefined when creating a shared library, by
using the `--allow-shlib-undefined` linker flag, instead of `-z defs`
(a.k.a `--no-undefined`).

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D107698
2021-08-08 13:52:44 +02:00
..
dynamic_hsa [libomptarget][amdgpu] Update printed plugin name 2021-07-29 14:46:42 +01:00
impl [libomptarget][amdgpu] don't declare Elf_Note on FreeBSD 2021-08-06 21:45:26 +02:00
src [libomptarget][amdgpu] Update printed plugin name 2021-07-29 14:46:42 +01:00
CMakeLists.txt [libomptarget][amdgpu] use --allow-shlib-undefined to link on FreeBSD 2021-08-08 13:52:44 +02:00