Page MenuHomeFreeBSD

D17221.diff
No OneTemporary

D17221.diff

Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -363,6 +363,7 @@
# CXXFLAGS_${ARCH}
# Append the cxxflags to CXXFLAGS only on the specified architecture
##
+# LDFLAGS_${ARCH} Append the ldflags to LDFLAGS only on the specified architecture
# USE_SDL - If set, this port uses the sdl libraries.
# See bsd.sdl.mk for more information.
##
@@ -2061,6 +2062,10 @@
.endif
.endfor
+.if defined(LDFLAGS_${ARCH})
+LDFLAGS+= ${LDFLAGS_${ARCH}}
+.endif
+
# Multiple make jobs support
.if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE)
_MAKE_JOBS?= #
Index: archivers/p7zip/Makefile
===================================================================
--- archivers/p7zip/Makefile
+++ archivers/p7zip/Makefile
@@ -31,7 +31,6 @@
# Fix the build for i386 when WITH_LLD_IS_LD is set
# https://bugs.freebsd.org/230210
-LDFLAGS+= ${LDFLAGS_${ARCH}}
LDFLAGS_i386= -Wl,-z,notext
OPTIONS_DEFINE= DOCS
Index: multimedia/libx264/Makefile
===================================================================
--- multimedia/libx264/Makefile
+++ multimedia/libx264/Makefile
@@ -13,8 +13,6 @@
LIB_DEPENDS= #
USES= pathfix
-
-LDFLAGS+= ${LDFLAGS_${ARCH}}
LDFLAGS_i386= -Wl,-znotext
OPTIONS_DEFINE= ASM OPENCL
Index: multimedia/xmms/Makefile
===================================================================
--- multimedia/xmms/Makefile
+++ multimedia/xmms/Makefile
@@ -23,9 +23,7 @@
USE_LDCONFIG= yes
USE_XORG= sm x11 xxf86vm
-LDFLAGS+= ${LDFLAGS_${ARCH}}
LDFLAGS_i386= -Wl,-znotext
-
CONFIGURE_ARGS= xmms_cv_newpcm_driver=yes --disable-static
CONFIGURE_ENV= INPUT_PLUGINS="${INPUT_PLUGINS}" \
OUTPUT_PLUGINS="${OUTPUT_PLUGINS}" \

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 23, 6:53 PM (12 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16783132
Default Alt Text
D17221.diff (1 KB)

Event Timeline