Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Allow user override of _GCC_CRT{BEGIN, END}S.
details: https://anonhg.NetBSD.org/src/rev/23b3efbb854e
branches: trunk
changeset: 782818:23b3efbb854e
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Nov 21 18:09:10 2012 +0000
description:
Allow user override of _GCC_CRT{BEGIN,END}S.
diffstat:
share/mk/bsd.gcc.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r bab623a4701e -r 23b3efbb854e share/mk/bsd.gcc.mk
--- a/share/mk/bsd.gcc.mk Wed Nov 21 17:53:10 2012 +0000
+++ b/share/mk/bsd.gcc.mk Wed Nov 21 18:09:10 2012 +0000
@@ -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}
Home |
Main Index |
Thread Index |
Old Index