Re: %optflags macro for clang?

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

 



Hi Guys,

  FYI: I have already opened a pull request to enhance redhat-rpm-config
  to allow packages to build with clang instead of gcc if they so wish:

https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/82

  The patch makes use of clang's CCC_OVERIDE_OPTIONS to process the options
  that are normally passed to gcc as well loading clang specific options 
  from a configuration file.  The patch also creates variables called __cc,
  __cxx and __cpp which are initialised as might be expected, but which
  a package could override to point to some other compiler should it wish
  to do so.

Cheers
  Nick
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux