gmake: CXXFLAGS override gb_Library_add_cxxflags

Stephan Bergmann sbergman at redhat.com
Thu Jan 10 00:16:59 PST 2013


On 01/09/2013 06:28 PM, Lubos Lunak wrote:
> On Wednesday 09 of January 2013, Stephan Bergmann wrote:
>> On 01/09/2013 03:41 PM, Petr Mladek wrote:
>>> + openSUSE uses:
>>>
>>> 	CXXFLAGS=-fomit-frame-pointer ...
>>
>> What do you mean with "openSUSE uses [that]"?  Is the env var preset
>> when you run a shell?  Why would openSUSE do that in the first place?
>
>   It's when building RPM packages, which are supposed to be built with
> $RPM_OPT_FLAGS.

Ah, so Petr's "IMHO, it would make sense to use CXXFLAGS after the 
default global flags but before the source file specific flags" sounds 
reasonable to me.

Stephan


More information about the LibreOffice mailing list