Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115677582
D14998.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
903 B
Referenced Files
None
Subscribers
None
D14998.diff
View Options
Index: head/share/mk/bsd.sys.mk
===================================================================
--- head/share/mk/bsd.sys.mk
+++ head/share/mk/bsd.sys.mk
@@ -226,6 +226,8 @@
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
CXXFLAGS+= ${CXXFLAGS.${.IMPSRC:T}}
+LDFLAGS+= ${LDFLAGS.${LINKER_TYPE}}
+
.if defined(SRCTOP)
# Prevent rebuilding during install to support read-only objdirs.
.if ${.TARGETS:M*install*} == ${.TARGETS} && empty(.MAKE.MODE:Mmeta)
Index: head/stand/i386/Makefile.inc
===================================================================
--- head/stand/i386/Makefile.inc
+++ head/stand/i386/Makefile.inc
@@ -2,13 +2,9 @@
#
# $FreeBSD$
-.sinclude <bsd.linker.mk>
-
LOADER_ADDRESS?=0x200000
LDFLAGS+= -nostdlib
-.if defined(LINKER_TYPE) && ${LINKER_TYPE} == "lld"
-LDFLAGS+= -Wl,--no-rosegment
-.endif
+LDFLAGS.lld+= -Wl,--no-rosegment
# BTX components
BTXDIR= ${BOOTOBJ}/i386/btx
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 28, 12:11 AM (5 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17823450
Default Alt Text
D14998.diff (903 B)
Attached To
Mode
D14998: Add support for linker-type-specific flags
Attached
Detach File
Event Timeline
Log In to Comment