Module Name:    src
Committed By:   pooka
Date:           Wed Nov 21 18:09:10 UTC 2012

Modified Files:
        src/share/mk: bsd.gcc.mk

Log Message:
Allow user override of _GCC_CRT{BEGIN,END}S.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/mk/bsd.gcc.mk

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

Modified files:

Index: src/share/mk/bsd.gcc.mk
diff -u src/share/mk/bsd.gcc.mk:1.4 src/share/mk/bsd.gcc.mk:1.5
--- src/share/mk/bsd.gcc.mk:1.4	Thu Jul 19 19:42:45 2012
+++ src/share/mk/bsd.gcc.mk	Wed Nov 21 18:09:10 2012
@@ -1,13 +1,17 @@
-#	$NetBSD: bsd.gcc.mk,v 1.4 2012/07/19 19:42:45 christos Exp $
+#	$NetBSD: bsd.gcc.mk,v 1.5 2012/11/21 18:09:10 pooka Exp $
 
 .if !defined(_BSD_GCC_MK_)
 _BSD_GCC_MK_=1
 
 .if defined(EXTERNAL_TOOLCHAIN)
 _GCC_CRTBEGIN!=		${CC} --print-file-name=crtbegin.o
+.ifndef _GCC_CRTBEGINS
 _GCC_CRTBEGINS!=	${CC} --print-file-name=crtbeginS.o
+.endif
 _GCC_CRTEND!=		${CC} --print-file-name=crtend.o
+.ifndef _GCC_CRTENDS
 _GCC_CRTENDS!=		${CC} --print-file-name=crtendS.o
+.endif
 _GCC_CRTI!=		${CC} --print-file-name=crti.o
 _GCC_CRTN!=		${CC} --print-file-name=crtn.o
 _GCC_CRTDIR!=		dirname ${_GCC_CRTBEGIN}

Reply via email to