diff options
author | rene <rene@FreeBSD.org> | 2014-06-23 05:01:11 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2014-06-23 05:01:11 +0800 |
commit | 51a0a504dc0fec35144ebd16d0c7678af68fdac8 (patch) | |
tree | 6b9263adad6710ea0c30ae90c1478565524ce489 /Mk | |
parent | 1221a5510fc4bd1509899a35558592f7eb23a7e7 (diff) | |
download | freebsd-ports-gnome-51a0a504dc0fec35144ebd16d0c7678af68fdac8.tar.gz freebsd-ports-gnome-51a0a504dc0fec35144ebd16d0c7678af68fdac8.tar.zst freebsd-ports-gnome-51a0a504dc0fec35144ebd16d0c7678af68fdac8.zip |
Add --strip-debug to STRIP_CMD to avoid removing kernel symbols from the
installed kernel module. This would otherwise break comms/uarduno on amd64
when converting this port to USES=kmod.
PR: 189621 (in private followup)
Submitted by: Bob Frazier <bobf@mrp3.com>
MFH: 2014Q2
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/kmod.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/Uses/kmod.mk b/Mk/Uses/kmod.mk index 3aa9ba879c20..bde744914e16 100644 --- a/Mk/Uses/kmod.mk +++ b/Mk/Uses/kmod.mk @@ -32,6 +32,7 @@ KMODDIR= /boot/modules PLIST_SUB+= KMODDIR="${KMODDIR:C,^/,,}" MAKE_ENV+= KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys" NO_XREF=yes +STRIP_CMD+= --strip-debug # do not strip kernel symbols .endif .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_KMOD_POST_MK) |