Subject: pkgtools/bootstrap-mk-files/files/mods/
To: None <>
From: Gilles Dauphin <>
List: tech-pkg
Date: 07/21/2006 10:33:15

let me know why thoses lines in

.if ${MACHINE_ARCH} == "x86_64"
CFLAGS+=-Wno-format -fno-builtin

that's is a problem when compiling some packages (gmake) whith solaris
gcc compiler.

the 'alloca' func is very system/compiler dependent , in Solaris
alloca is not a libc func. The gmake package does not link with this options.
and works fine whithout.

By the past I silently patch (no PR), but now it's time.

Thanks for an answer.
Maybe a patch like :

.if ${MACHINE_ARCH} == "x86_64" && ${OPSYS} != "SunOS"

will works