Module Name:    src
Committed By:   joerg
Date:           Tue Mar  1 16:08:23 UTC 2016

Modified Files:
        src/sys/arch/evbarm/stand/gzboot: Makefile.gzboot

Log Message:
Don't reuse LDFLAGS for arguments passed directly to ${LD}, share/mk
expects it to be passed to ${CC} or ${CXX}, so they will generally
prefix flags with -Wl.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot
diff -u src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot:1.33 src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot:1.34
--- src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot:1.33	Sun Jan 31 15:29:04 2016
+++ src/sys/arch/evbarm/stand/gzboot/Makefile.gzboot	Tue Mar  1 16:08:22 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.gzboot,v 1.33 2016/01/31 15:29:04 christos Exp $
+#	$NetBSD: Makefile.gzboot,v 1.34 2016/03/01 16:08:22 joerg Exp $
 
 NOMAN=  # defined
 
@@ -87,7 +87,7 @@ cleandir distclean: .WAIT cleanlibdir
 cleanlibdir:
 	-rm -rf lib
 
-LDFLAGS= -M -T ${LDSCRIPT} --fix-v4bx
+DIRECT_LDFLAGS= -M -T ${LDSCRIPT} --fix-v4bx
 
 LIBLIST=${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBSA}
 
@@ -114,5 +114,5 @@ FILES=	${PROGSYM}
 
 ${PROGSYM}: ${STARTFILE} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
 	${_MKTARGET_LINK}
-	${LD} -o ${.TARGET} ${LDFLAGS} ${STARTFILE} \
+	${LD} -o ${.TARGET} ${DIRECT_LDFLAGS} ${STARTFILE} \
 	    ${OBJS} ${LIBLIST} > ${BASE}.list

Reply via email to