mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Link kldxref(8) static on PowerPC to work around a SIGSEGV that
cannot easily be analyzed due to there being no debugger yet. The SIGSEGV only happens when kldxref is linked shared. Since kldxref(8) is needed for a release build, having it not dump core is important.
This commit is contained in:
parent
e7926dc0a5
commit
259d74ed53
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160820
@ -6,6 +6,10 @@ SRCS= kldxref.c ef.c ef_obj.c
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
.if ${MACHINE_ARCH} == powerpc
|
||||
LDFLAGS+=-static
|
||||
.endif
|
||||
|
||||
.if exists(ef_${MACHINE_ARCH}.c)
|
||||
SRCS+= ef_${MACHINE_ARCH}.c
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user