[Dev] [Tizen General] How can I remove "-O2" flag when I build project for GBS?

VanCutsem, Geoffroy geoffroy.vancutsem at intel.com
Tue May 27 16:17:36 GMT 2014

The quickest way to experiment with this for a single package may be to set it directly via the spec file.


From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of ???
Sent: Monday, May 26, 2014 8:59 AM
To: dev at lists.tizen.org
Subject: [Dev] [Tizen General] How can I remove "-O2" flag when I build project for GBS?

Hello. I'm trying to build Tizen Telephony module with changed gcc option. I want to change optimization level, so I'm trying to apply -Os option for compilation.

I've checked several .conf files but could not find where to change for the value "__global_cflags' .

I've googled and found an old article :


and it suggested to change /var/tmp/<user>-gbs/tizen.conf file. So I've tried but I could not find "__global_cflags" section there.

Please let me know how to control compilation option for gbs.

Thanks and Regards.


Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20140527/a8331671/attachment.html>

More information about the Dev mailing list