From f6c30c513f8c7a4c88cd709b438263cdc2a3e78d Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 11 Dec 2010 18:42:33 +0000 Subject: [PATCH] Revert last, gcc(1) checks explicitly for -r on some platforms to disable passing down --relax as well. --- share/mk/bsd.kmodule.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.kmodule.mk b/share/mk/bsd.kmodule.mk index 558f505a115e..07d55ad19e24 100644 --- a/share/mk/bsd.kmodule.mk +++ b/share/mk/bsd.kmodule.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.kmodule.mk,v 1.25 2010/12/08 02:04:13 joerg Exp $ +# $NetBSD: bsd.kmodule.mk,v 1.26 2010/12/11 18:42:33 martin Exp $ # We are not building this with PIE MKPIE=no @@ -55,7 +55,7 @@ ${OBJS} ${LOBJS}: ${DPSRCS} ${PROG}: ${OBJS} ${DPADD} ${_MKTARGET_LINK} - ${CC} ${LDFLAGS} -nostdlib -Wl,-r -Wl,-T,${KMODSCRIPT},-d \ + ${CC} ${LDFLAGS} -nostdlib -r -Wl,-T,${KMODSCRIPT},-d \ -o ${.TARGET} ${OBJS} ##### Install rules