Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] custom-cxxflags not supported but on anyway
Date: Mon, 16 Feb 2009 10:54:54
Message-Id: 499945F3.3020809@gmail.com
1 Hi,
2
3 I'm in the process of installing KDE 4 and noticed something new to me.
4 I generally check my USE flags and make sure I am getting what I want
5 and not getting what I don't. I noticed this tho:
6
7 > [ebuild R ] x11-libs/qt-core-4.4.2 USE="qt3support ssl
8 > -custom-cxxflags% -debug -doc -glib -pch" 0 kB
9 > [ebuild R ] x11-libs/qt-test-4.4.2 USE="-custom-cxxflags% -debug
10 > -pch" 0 kB
11 > [ebuild R ] x11-libs/qt-script-4.4.2 USE="-custom-cxxflags%
12 > -debug -pch" 0 kB
13 > [ebuild NS ] app-crypt/qca-2.0.0-r2 [1.0-r3] USE="-debug -doc
14 > -examples" 0 kB
15 > [ebuild R ] x11-libs/qt-sql-4.4.2 USE="qt3support sqlite
16 > -custom-cxxflags% -debug -firebird -mysql -odbc -pch -postgres" 0 kB
17 > [ebuild N ] net-libs/libvncserver-0.9.1 USE="jpeg zlib -no24bpp
18 > -nobackchannel" 0 kB
19 > [ebuild N ] media-libs/xvid-1.1.3 USE="(-altivec) -examples" 0 kB
20 > [ebuild N ] media-libs/libmodplug-0.8.4-r2 0 kB
21 > [ebuild N ] sys-libs/libieee1284-0.2.8 USE="-doc" 0 kB
22 > [ebuild N ] dev-libs/libpthread-stubs-0.1 USE="-debug" 0 kB
23 > [ebuild R ] x11-libs/qt-dbus-4.4.2 USE="-custom-cxxflags% -debug
24 > -pch" 0 kB
25 > [ebuild R ] x11-libs/qt-gui-4.4.2-r1 USE="accessibility cups dbus
26 > qt3support tiff -custom-cxxflags% -debug -glib -mng -nas -nis -pch
27 > -xinerama" INPUT_DEVICES="-wacom" 0 kB
28 > [ebuild R ] x11-libs/qt-qt3support-4.4.2 USE="accessibility
29 > -custom-cxxflags% -debug -pch" 0 kB
30 > [ebuild R ] x11-libs/qt-svg-4.4.2 USE="-custom-cxxflags% -debug
31 > -pch" 0 kB
32 > [ebuild R ] x11-libs/qt-webkit-4.4.2 USE="-custom-cxxflags%
33 > -debug -pch" 0 kB
34 > [ebuild R ] x11-libs/qt-opengl-4.4.2 USE="qt3support
35 > -custom-cxxflags% -debug -pch" 0 kB
36
37 This is just a few that are clumped together. There are quite a few
38 others as well. After checking I find out this:
39
40 > root@smoker / # euse -i custom-cxxflags
41 > global use flags (searching: custom-cxxflags)
42 > ************************************************************
43 > [- ] custom-cxxflags - Build with user-specified CXXFLAGS (unsupported)
44 >
45 > local use flags (searching: custom-cxxflags)
46 > ************************************************************
47 > no matching entries found
48 > root@smoker / #
49
50 I notice it says unsupported. So I thought maybe I added this at some
51 point but didn't remember it. Here is my related make.conf info:
52
53 > root@smoker / # cat /etc/make.conf | grep USE=
54 > USE="-a52 acl acpi alsa amd arts artswrappersuid automount -bluetooth
55 > -branding bzip2 cddb cdr chroot crypt curl dbus -doc -dts dvd dvdr
56 > dvdread esd exif fdftk -fftw -firefox -gcj gif gimp gkrellm -gnome
57 > gphoto2 gtk hal hbci htmlhandbook ipv6 java javascript jbig jpeg
58 > jpeg2k justify kde kdeprefix libwww logrotate loop-aes mmx mplayer mp3
59 > -musepack -mysql -nls nsplugin ofx offensive opengl -oss parport pdf
60 > ppds qt3 qt3support qt4 realmedia seamonkey sqlite sse syslog tcl
61 > -theora tiff tk truetype usb -v4l webkit win32codecs wma wmf wmp X xml
62 > xprint yahoo -xulrunner zeroconf 3dnow "
63 > root@smoker / # cat /etc/make.conf | grep FLAG
64 > CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
65 > CXXFLAGS="${CFLAGS}"
66 > root@smoker / #
67
68 I try to keep my USE line in alphabetical order but I just don't see
69 that flag in there. I know KDE 4 is not stable but some of the packages
70 are being recompiled because of the USE flag being changed. This is my
71 profile info:
72
73 > root@smoker / # eselect profile list
74 > Available profile symlink targets:
75 > [1] hardened/x86/2.6
76 > [2] selinux/2007.0/x86
77 > [3] selinux/2007.0/x86/hardened
78 > [4] default/linux/x86/2008.0
79 > [5] default/linux/x86/2008.0/desktop *
80 > [6] default/linux/x86/2008.0/developer
81 > [7] default/linux/x86/2008.0/server
82 > [8] hardened/linux/x86
83 > root@smoker / #
84
85
86 I also checked the profile USE but don't see the change in there
87 either. So, why is this enabled but not supported? Is this safe to
88 have enabled? Does it even matter anyway? What is making it even
89 change to begin with?
90
91 Thanks.
92
93 Dale
94
95 :-) :-)
96
97 P. S. I bet this will be simple too. o_O

Replies

Subject Author
Re: [gentoo-user] custom-cxxflags not supported but on anyway Daniel Pielmeier <daniel.pielmeier@××××××××××.com>