Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381323 - net-wireless/bluez adds itself CFLAGS="-g"
Summary: net-wireless/bluez adds itself CFLAGS="-g"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 16:45 UTC by Agostino Sarubbo
Modified: 2011-12-31 20:09 UTC (History)
4 users (show)

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 2011-08-31 16:45:56 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./lib -I./src -I./src -I./audio -I./sbc -I./gdbus -I./attrib -I./btio -I./health   -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib64/bluetooth/plugins"\" -march=native -O2 -g0 -D_FORTIFY_SOURCE=2 -fPIC -g -c -o serial/manager.o serial/manager.c

Please drop.
Comment 1 Pacho Ramos gentoo-dev 2011-08-31 18:23:06 UTC
Why? Looks like upstream is adding it intentionally :-/
Comment 2 Agostino Sarubbo gentoo-dev 2011-08-31 18:49:05 UTC
(In reply to comment #1)
> Why? Looks like upstream is adding it intentionally :-/

any USEFLAGS mustn't modify CFLAGS environment, exception for -static and so on.
Comment 3 Pacho Ramos gentoo-dev 2011-08-31 18:55:09 UTC
What USE flag is modifying it?
Comment 4 Agostino Sarubbo gentoo-dev 2011-08-31 19:04:19 UTC
(In reply to comment #3)
> What USE flag is modifying it?

+debug
Comment 5 Pacho Ramos gentoo-dev 2011-08-31 19:20:17 UTC
But it's not the ebuild who is appending the FLAG, it's upstream, and I am sure there are a lot of packages changing CFLAGS in similar ways by their respective upstreams... maybe I should ask in gentoo-dev mailing list as I doubt this kind of change could ever be upstreamed
Comment 6 Pacho Ramos gentoo-dev 2011-12-31 20:09:30 UTC
+*obexd-0.43 (31 Dec 2011)
+
+  31 Dec 2011; Pacho Ramos <pacho@gentoo.org> +obexd-0.43.ebuild:
+  Version bump, disable debug as it simply appends -g to CFLAGS (bug #381323 by
+  Agostino Sarubbo).
+