Gentoo Archives: gentoo-catalyst

From: Matt Turner <mattst88@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] Setting cflags for a single package in spec file
Date: Tue, 18 Oct 2011 20:34:04
Message-Id: CAEdQ38FNCRTNMuvRy8GCsWhDaOuEa=SPkMzG-u4E05bLNUx8Rw@mail.gmail.com
In Reply to: RE: [gentoo-catalyst] Setting cflags for a single package in spec file by "Garrity
1 On Tue, Oct 18, 2011 at 4:04 PM, Garrity, Christopher
2 <Christopher.Garrity@××××××××××××××××.com> wrote:
3 >
4 > Thanks, that did it!
5 >
6 > # grep confdir catalyst-netboot2.spec
7 > portage_confdir: /etc/portage
8 >
9 > # find /etc/portage/env -type f -exec cat {} \; -print
10 > CFLAGS="-mtune=core2 -march=core2 -pipe -fomit-frame-pointer"
11 > CHOST="x86_64-pc-linux-gnu"
12 > CXXFLAGS="${CFLAGS}"
13 > /etc/portage/env/net-ftp/tftp-hpa
14 >
15 > My tftp client no longer segs :)
16
17 Great to hear!
18
19 Speaking of which, I don't see any bugs reported in the Gentoo bug
20 tracker. How can I reproduce the seg fault you're seeing? I just
21 compiled tftp-hpa-5.1 with gcc-4.5.3-r1.
22
23 Thanks,
24 Matt

Replies