Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Build a file with -m32
Martin Husemann <martin%duskware.de@localhost> wrote:
> CC32= ${NORMAL_C} -m32
> in Makefile.amd64 and in files.amd64:
> path/to/my/file.c compile-with "${CC32}"
That almost worked: the -m32 got appended to ctfconvert flags.
Here is the definition from sc/sys/conf/Makefile.kern.inc
NORMAL_C?= @${_MKSHMSG} "compile ${.CURDIR:T}/${.TARGET}" && \
${_MKSHECHO} ${KCOMPILE.c} ${PROF} && \
${KCOMPILE.c} ${PROF} && \
${COMPILE_CTFCONVERT}
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index