tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: changing optimization for crunchgen components

>       If I've missed something, could you clarify how the '-d' flag
> is involved (I assume that is the make invocation).   And is it the
> '-d' flag causes it to expand the DBG macro?  I'd like to know if
> you tried it at least.

crunchgen(8) says:

>>     -d build-options
>>             Set the DBG variable in the generated makefile to build-options.
>>             The default flags are -Os.

In src/rescue/Makefile:
.if ${MACHINE_ARCH} != "m68000"
DBG=            -Os



.include "${DISTRIBDIR}/common/Makefile.crunch"


src/distrib/common/Makefile.crunch has:
#       CRUNCHGEN_FLAGS extra options to crunchgen(1)


            -L ${DESTDIR}/usr/lib -q ${CRUNCHGEN_FLAGS} ${CRUNCHBIN}.conf

Izumi Tsutsui

Home | Main Index | Thread Index | Old Index