Hi,

So hm, how do I define MALLOC_PRODUCTION correctly when doing a cross-build?

When doing a cross-build, I do this in my build script:


        env CROSS_BUILD_TESTING=YES
MAKEOBJDIRPREFIX=${X_MAKEOBJDIRPREFIX}      \
            make ${BUILD_FLAGS} TARGET=${TARGET}
TARGET_ARCH=${TARGET_ARCH}     \
            ${X_TARGET_CPUTYPE} KERNCONF=${KERNCONF}
DESTDIR=${X_DESTDIR}       \
            KODIR=/boot/kernel.${KERNCONF}/
         \
            KMODDIR=/boot/kernel.${KERNCONF}/
         \
            __MAKE_CONF=/dev/null SRCCONF=/dev/null
         \
            LOCAL_DIRS="${LOCAL_DIRS}"
         \
            LOCAL_TOOL_DIRS="${LOCAL_TOOL_DIRS}" $1
         \

.. so I'd have to put MALLOC_PRODUCTION=yes in a temporary make.conf,
and point __MAKE_CONF at that?



Adrian
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to