Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448554 - x11-misc/xfe should drop CFLAGS="-O2"
Summary: x11-misc/xfe should drop CFLAGS="-O2"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-25 16:19 UTC by Agostino Sarubbo
Modified: 2012-12-26 13:03 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 Agostino Sarubbo gentoo-dev 2012-12-25 16:19:40 UTC
Example:

x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../intl  -I/usr/include/freetype2   -I/usr/include/freetype2   -O2 -march=native -O2 -g0 -c -o xvt.o `test -f '../xvt/xvt.c' || echo './'`../xvt/xvt.c

amd64box ~ # portageq envvar CFLAGS
-march=native -O2 -g0


So, If I delete my -O2 it will be built always with -O2 added by the buildsystem.
Comment 1 Julian Ospald 2012-12-25 16:37:46 UTC
you can and should set "-O0" if you don't want opzimization

otherwise we would have to fix a LOT of packages for no real gain
Comment 2 Agostino Sarubbo gentoo-dev 2012-12-26 13:03:13 UTC
fixed