[MacPorts] #49241: llvm-gcc42: build against clang compilers on darwin15 (was: fix llvm-gcc42 to build against clang compilers on darwin15)
MacPorts
noreply at macports.org
Mon Oct 12 18:36:13 PDT 2015
#49241: llvm-gcc42: build against clang compilers on darwin15
------------------------------------+------------------------
Reporter: howarth.at.macports@… | Owner: jeremyhu@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: haspatch
Port: llvm-gcc42 |
------------------------------------+------------------------
Changes (by ryandesign@…):
* cc: jeremyhu@… (removed)
* keywords: => haspatch
* owner: macports-tickets@… => jeremyhu@…
* type: defect => enhancement
Old 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.
New 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.
--
--
Ticket URL: <https://trac.macports.org/ticket/49241#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list