Page MenuHomeFreeBSD

D55691.diff
No OneTemporary

D55691.diff

diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -207,11 +207,6 @@
MOZ_OPTIONS+= --enable-optimize
. else
MOZ_OPTIONS+= --disable-optimize
-. if ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
-# ld 2.17 barfs on Stylo built with -C opt-level=0
-USE_BINUTILS= yes
-LDFLAGS+= -B${LOCALBASE}/bin
-. endif
. endif
. if ${PORT_OPTIONS:MCANBERRA}
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1847,7 +1847,7 @@
.include "${PORTSDIR}/Mk/bsd.gcc.mk"
. endif
-. if defined(LLD_UNSAFE) && ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
+. if defined(LLD_UNSAFE)
LDFLAGS+= -fuse-ld=bfd
BINARY_ALIAS+= ld=${LD}
USE_BINUTILS= yes
diff --git a/audio/faust-lv2/Makefile b/audio/faust-lv2/Makefile
--- a/audio/faust-lv2/Makefile
+++ b/audio/faust-lv2/Makefile
@@ -12,9 +12,7 @@
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= fails to link: can't create dynamic relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol: vtable for LV2UI in readonly segment
-.if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
BROKEN_i386= ld: error: can't create dynamic relocation R_386_32 against symbol: vtable for LV2UI in readonly segment
-.endif
BROKEN_riscv64= can't create dynamic relocation R_RISCV_LO12_I against symbol: vtable for LV2UI in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
BUILD_DEPENDS= lv2>0:audio/lv2 \
diff --git a/devel/dconf/Makefile b/devel/dconf/Makefile
--- a/devel/dconf/Makefile
+++ b/devel/dconf/Makefile
@@ -20,10 +20,6 @@
USE_CSTD= c99
USE_GNOME= glib20 libxslt:build
USE_LDCONFIG= yes
-.if ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
-USE_BINUTILS= yes
-LDFLAGS+= -B${LOCALBASE}/bin
-.endif
SHEBANG_FILES= tests/test-dconf.py
BINARY_ALIAS= python3=${PYTHON_VERSION}
diff --git a/devel/mpatrol/Makefile b/devel/mpatrol/Makefile
--- a/devel/mpatrol/Makefile
+++ b/devel/mpatrol/Makefile
@@ -13,9 +13,7 @@
LICENSE_FILE= ${WRKSRC}/../../COPYING
ONLY_FOR_ARCHS= amd64 i386
-.if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
BROKEN_i386= ld: error: relocation R_386_PC32 cannot be used against symbol __mp_init
-.endif
LIB_DEPENDS= libelf.so.0:devel/libelf
diff --git a/math/p5-PDL/Makefile b/math/p5-PDL/Makefile
--- a/math/p5-PDL/Makefile
+++ b/math/p5-PDL/Makefile
@@ -13,9 +13,7 @@
LICENSE_COMB= dual
BROKEN_aarch64= ld: error: relocation R_AARCH64_ADR_PREL_PG_HI21 cannot be used against symbol __stack_chk_guard; recompile with -fPIC
-.if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
BROKEN_i386= ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
-.endif
BUILD_DEPENDS= p5-Devel-CheckLib>=1.01:devel/p5-Devel-CheckLib \
${RUN_DEPENDS}
diff --git a/net-im/uTox/Makefile b/net-im/uTox/Makefile
--- a/net-im/uTox/Makefile
+++ b/net-im/uTox/Makefile
@@ -36,7 +36,6 @@
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
DBUS_CMAKE_BOOL= ENABLE_DBUS
-.if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
# ld.lld lacks default output emulation. Using -b binary without
# explicit -m will fail. Mapping taken from lld/ELF/Driver.cpp.
_LLD_EMUL_aarch64= aarch64elf_fbsd
@@ -51,7 +50,6 @@
post-patch:
@${REINPLACE_CMD} 's,[[:<:]]ld[[:>:]],ld -m${_LLD_EMUL_${ARCH}},' \
${WRKSRC}/src/xlib/CMakeLists.txt
-.endif
do-test:
@cd ${TEST_WRKSRC} && \

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 30, 12:57 PM (12 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30587552
Default Alt Text
D55691.diff (3 KB)

Event Timeline