worldstone: add -s for statistical profiling
[minix.git] / share / mk / bsd.gcc.mk
blobb1281ded5fca1b89db106bd992371d0132e7adbf
1 # $NetBSD: bsd.gcc.mk,v 1.3 2008/10/25 19:11:28 mrg Exp $
3 .if !defined(_BSD_GCC_MK_)
4 _BSD_GCC_MK_=1
6 .if defined(EXTERNAL_TOOLCHAIN)
7 _GCC_CRTBEGIN!= ${CC} --print-file-name=crtbegin.o
8 _GCC_CRTBEGINS!= ${CC} --print-file-name=crtbeginS.o
9 _GCC_CRTEND!= ${CC} --print-file-name=crtend.o
10 _GCC_CRTENDS!= ${CC} --print-file-name=crtendS.o
11 _GCC_CRTDIR!= dirname ${_GCC_CRTBEGIN}
12 _GCC_LIBGCCDIR!= dirname `${CC} --print-libgcc-file-name`
13 .else
14 _GCC_CRTBEGIN?= ${DESTDIR}/usr/lib/crtbegin.o
15 _GCC_CRTBEGINS?= ${DESTDIR}/usr/lib/crtbeginS.o
16 _GCC_CRTEND?= ${DESTDIR}/usr/lib/crtend.o
17 _GCC_CRTENDS?= ${DESTDIR}/usr/lib/crtendS.o
18 _GCC_CRTDIR?= ${DESTDIR}/usr/lib
19 _GCC_LIBGCCDIR?= ${DESTDIR}/usr/lib
20 .endif
22 .endif # ! defined(_BSD_GCC_MK_)