File 0854-Fix-build-of-OTP-with-Xcode-11.4.patch of Package erlang
From 3edba0dad391431cbadad44a8bd15c75254fc239 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Fri, 27 Mar 2020 07:09:45 +0100
Subject: [PATCH] Fix build of OTP with Xcode 11.4
https://bugs.erlang.org/browse/ERL-1205
---
erts/configure.in | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/erts/configure.in b/erts/configure.in
index 609c457393..c6dabc1151 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -926,21 +926,6 @@ dnl for now that is the way we do it.
USER_LD=$LD
USER_LDFLAGS="$LDFLAGS"
LD='$(CC)'
-case $host_os in
- darwin*)
- saved_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS -Wl,-no_weak_imports"
- AC_TRY_LINK([],[],
- [
- LD_MAY_BE_WEAK=no
- ],
- [
- LD_MAY_BE_WEAK=yes
- LDFLAGS="$saved_LDFLAGS"
- ]);;
- *)
- LD_MAY_BE_WEAK=no;;
-esac
AC_SUBST(LD)
--
2.16.4