diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-04-19 14:23:00 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-04-19 19:26:43 +0200 |
commit | d86e60855f05a0e493f8362c12bfd40d5432d337 (patch) | |
tree | edf1a0c62961d7b8be8d26e09172b88a74f63912 /libphobos/configure | |
parent | 3bffc4b37e85c7f6092dfb0fbe4067d268e97b46 (diff) | |
download | gcc-d86e60855f05a0e493f8362c12bfd40d5432d337.zip gcc-d86e60855f05a0e493f8362c12bfd40d5432d337.tar.gz gcc-d86e60855f05a0e493f8362c12bfd40d5432d337.tar.bz2 |
libphobos: Add section support code for OpenBSD (PR99691)
libphobos/ChangeLog:
PR d/99691
* configure: Regenerate.
* libdruntime/config/common/threadasm.S: Add __OpenBSD__.
* libdruntime/gcc/backtrace.d: Import core.sys.openbsd.dlfcn on
OpenBSD platforms.
* libdruntime/gcc/sections/elf.d (SharedElf): Define on OpenBSD.
(linkMapForHandle): Implement for OpenBSD.
(exeLinkMap): Remove.
(getDependencies): Adjust dlpi_addr on OpenBSD.
(handleForName): Implement for OpenBSD.
(IterateManually): Define on OpenBSD.
* libdruntime/gcc/sections/package.d (SectionsElf): Define on OpenBSD.
* m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ATOMIC): Test for
enable_libatomic.
(DRUNTIME_LIBRARIES_BACKTRACE): Test for enable_libbacktrace.
Diffstat (limited to 'libphobos/configure')
-rwxr-xr-x | libphobos/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libphobos/configure b/libphobos/configure index fe7cd9c..2c0f57c 100755 --- a/libphobos/configure +++ b/libphobos/configure @@ -14917,7 +14917,7 @@ fi DCFG_HAVE_LIBATOMIC=false LIBATOMIC= - if test "x$with_libatomic" != "xno"; then : + if test "x$enable_libatomic" != "xno" && test "x$with_libatomic" != "xno"; then : DCFG_HAVE_LIBATOMIC=true LIBATOMIC=../../libatomic/libatomic_convenience.la @@ -14953,7 +14953,7 @@ if test "${with_libbacktrace+set}" = set; then : fi - if test "x$with_libbacktrace" != "xno"; then : + if test "x$enable_libbacktrace" != "xno" && test "x$with_libbacktrace" != "xno"; then : LIBBACKTRACE=../../libbacktrace/libbacktrace.la |