Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12674 - xfsprogs-2.3.6-r1.ebuild
Summary: xfsprogs-2.3.6-r1.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-24 16:19 UTC by Jim Bray
Modified: 2002-12-26 12:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Bray 2002-12-24 16:19:07 UTC
I noticed that I was getting a debugging build:

gcc -march=k6-2 -mmmx -m3dnow -O1 -pipe -g -DDEBUG -funsigned-char -Wall
-I./include -DVERSION=\"2.3.6\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DXFS_BIG_FILES=1 -DXFS_BIG_FILESYSTEMS=1 -g -DNDEBUG 

and decided to look into it (on further investigation I see the second -DNDEBUG,
so maybe it wasn't but I did find something interesting. In the ebuild file,
if one changes 

DEBUG=-DNDEBUG

to 

export DEBUG=-DNDEBUG 

the initial -DDEBUG goes away (see below). Now if someone could tell me
how to get rid of the '-g' I'd be all set.

gcc -march=k6-2 -mmmx -m3dnow -O1 -pipe -g -DNDEBUG -funsigned-char -Wall
-I./include -DVERSION=\"2.3.6\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DXFS_BIG_FILES=1 -DXFS_BIG_FILESYSTEMS=1 -g -DNDEBUG
Comment 1 Brad Cowan (RETIRED) gentoo-dev 2002-12-26 12:22:57 UTC
I've fixed in portage, but I have no clue where the -g is coming from on your
system, nothing like that here. Thanks for the contribution :)