Re: wip/kegs

Aleksey Cheusov <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
 >> Havard gave me the hint that it might be "-march=pentium"'s fault, and
 >> it was, so I removed it.
 >> 
 >> Usually, packages shouldn't set optimization flags themselves, but use
 >> the passed-in ones (via CFLAGS).

> Is this as easy as putting ${CFLAGS} (or ${LDFLAGS}) in the
> appropriate places in the source files?

If I understand correctly kegs source,
it is enough to add the following line to Makefile
(builds successfully on NetBSD/x86/native-X and Linux/x86/modular XOrg
but still needs testing)

BUILD_MAKE_FLAGS+=	CCOPTS=${CFLAGS}

-- 
Best regards, Aleksey Cheusov.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.