[llvm-bugs] [Bug 25674] New: cmake: -std=c++11 is not passed to the compiler when building using cmake on Leopard and Snow Leopard

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 29 17:32:57 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=25674

            Bug ID: 25674
           Summary: cmake: -std=c++11 is not passed to the compiler when
                    building using cmake on Leopard and Snow Leopard
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: jeremyhu at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15366
  --> https://llvm.org/bugs/attachment.cgi?id=15366&action=edit
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151130/813270c6/attachment.html>


More information about the llvm-bugs mailing list