<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - cmake: -std=c++11 is not passed to the compiler when building using cmake on Leopard and Snow Leopard"
href="https://llvm.org/bugs/show_bug.cgi?id=25674">25674</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>cmake: -std=c++11 is not passed to the compiler when building using cmake on Leopard and Snow Leopard
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jeremyhu@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=15366" name="attach_15366" title="cmake build log (compressed)">attachment 15366</a> <a href="attachment.cgi?id=15366&action=edit" title="cmake build log (compressed)">[details]</a></span>
cmake build log (compressed)
This issue is being observed as part of transitioning MacPorts llvm-3.8 port
from an autoconf-based build to a cmake-based build using recent trunk,
r253905.
In all cases (autoconf and cmake / Leopard and Snow Leopard), we're using clang
built from 3.7.0 tarballs as our toolchain.
When using autoconf as the build system, -std=c++11 is passed to the compiler,
and the resulting build is successful.
When using cmake as the build system, -std=c++11 is not passed to the compiler,
and the resulting build fails.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>