Opened 9 years ago
Last modified 9 years ago
#49241 closed enhancement
fix llvm-gcc42 to build against clang compilers on darwin15 — at Initial Version
Reported by: | howarth.at.macports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | haspatch | Cc: | jeremyhu@… |
Port: | llvm-gcc42 |
Description
The attached Portfile.diff adds the changes required to build against the Apple clang 7.0 compiler and older. This include...
1) Adding a clang-optimization.patch to use #pragma clang optimize off/#pragma clang optimize on to avoid optimization bugs in compiling two subroutines under Apple Clang 6.0 or later.
2) Use of reinplace to avoid passing -module and -no-undefined under the clang compiler
3) Removal of the clang compiler blacklist and the section preventing builds on El Capitan
Tested on darwin15.
Change History (2)
Changed 9 years ago by howarth.at.macports@…
Attachment: | Portfile.diff added |
---|
Changed 9 years ago by howarth.at.macports@…
Attachment: | clang-optimization.patch added |
---|
patch to avoid optimization errors in Apple Clang 6.0 or later
Note: See
TracTickets for help on using
tickets.
Portfile diff to build against the clang compilers