Just pass -DCRT_BEGIN as an option to mkdep(1), no need to override
the entire command.
This commit is contained in:
parent
ebdf8c08b8
commit
b37c7cc0e8
@ -17,7 +17,7 @@ CFLAGS+= -finhibit-size-directive -fno-inline-functions \
|
||||
CFLAGS+= -I${GCCDIR}/config -I${GCCDIR} -I. \
|
||||
-I${CCDIR}/cc_tools
|
||||
CRTS_CFLAGS= -DCRTSTUFFS_O -DSHARED ${PICFLAG}
|
||||
MKDEPCMD= CC="${CC}" MKDEP_CPP_OPTS="-M -DCRT_BEGIN" mkdep
|
||||
MKDEP= -DCRT_BEGIN
|
||||
|
||||
.if ${MACHINE_ARCH} == "ia64"
|
||||
BEGINSRC= crtbegin.asm
|
||||
|
Loading…
Reference in New Issue
Block a user