#49241: fix llvm-gcc42 to build against clang compilers on darwin15 -----------------------------------+-------------------------------- Reporter: howarth.at.macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: llvm-gcc42 -----------------------------------+-------------------------------- 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> MacPorts <https://www.macports.org/> Ports system for OS X