Re: clang and Fedora's default C/CXX flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/03/2019 12:28 PM, Carlos O'Donell wrote:
> On 1/3/19 2:49 PM, Michael Cronenworth wrote:
>> Part of Fedora's default C/CXX flags include -fstack-clash-protection
>> but clang does not support this flag and has until a few weeks ago[1]
>> silently ignored the flag.
>>
>> What are clang apps who use Fedora's default flags supposed to do?
>> Are there clang default flag macros?
>>
>> Thanks, Michael
>>
>> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1658311
> 
> You should reach out to Tom or Serge for comments :-)
> 

The recommended solution for now is to filter out flags that clang does
not support.

See for example: https://src.fedoraproject.org/rpms/libcxx/blob/master/f/libcxx.spec#_60

-Tom

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux